Apply secure logs
authorSunwook Bae <sunwook45.bae@samsung.com>
Wed, 17 Apr 2013 12:42:14 +0000 (21:42 +0900)
committerSunwook Bae <sunwook45.bae@samsung.com>
Thu, 18 Apr 2013 06:43:42 +0000 (15:43 +0900)
Change-Id: Ie6904a333c8f0bb29290d65a49635f5037182a82
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
src/MessagePortProxy.cpp
src/message-port-log.h

index f9fd6d7..c0b854d 100644 (file)
@@ -554,7 +554,7 @@ MessagePortProxy::OnSendMessageInternal(const BundleBuffer& metadata, const Bund
 
        string messageType = bundle_get_val(b, MESSAGE_TYPE);
 
-       _LOGD("Message received to AppId: %s, Port: %s, Trusted: %s", pRemoteAppId, pRemotePort, trustedMessage.c_str());
+       _LOGD("Message received to App: %s, Port: %s, Trusted: %s", pRemoteAppId, pRemotePort, trustedMessage.c_str());
 
        int id = 0;
        messageport_message_cb callback;
@@ -583,7 +583,7 @@ MessagePortProxy::OnSendMessageInternal(const BundleBuffer& metadata, const Bund
                        string localPort = bundle_get_val(b, LOCAL_PORT);
                        string trustedLocal = bundle_get_val(b, TRUSTED_LOCAL);
 
-                       _LOGD("From AppId: %s, Port: %s, TrustedLocal: %s", localAppId.c_str(), localPort.c_str(), trustedLocal.c_str());
+                       _LOGD("From App: %s, Port: %s, TrustedLocal: %s", localAppId.c_str(), localPort.c_str(), trustedLocal.c_str());
 
                        bool trustedPort = (trustedLocal.compare("TRUE") == 0);
 
index d2d1678..15dc711 100644 (file)
@@ -32,6 +32,9 @@ extern "C" {
 #define _LOGE(fmt, arg...) LOGE(fmt, ##arg)
 #define _LOGD(fmt, arg...) LOGD(fmt, ##arg)
 
+#define _SECURE_LOGE(fmt, arg...) SECURE_LOGE(fmt, ##arg)
+#define _SECURE_LOGD(fmt, arg...) SECURE_LOGD(fmt, ##arg)
+
 /**
  * @}
  */