Added the "OIC" in TAG for debug.
authorJaehong Jo <jaehong.jo@samsung.com>
Mon, 5 Dec 2016 08:29:58 +0000 (17:29 +0900)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Thu, 8 Dec 2016 17:40:03 +0000 (17:40 +0000)
Change-Id: If87d2455e14a2b553cce62d69deb3cbe661fd02c
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15151
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/c_common/octhread/src/noop/octhread.c
resource/c_common/octhread/src/posix/octhread.c
resource/csdk/connectivity/common/src/caremotehandler.c
resource/csdk/connectivity/common/src/cathreadpool_pthreads.c
resource/csdk/connectivity/common/src/uarraylist.c
resource/csdk/connectivity/common/src/ulinklist.c
resource/csdk/connectivity/common/src/uqueue.c
resource/csdk/connectivity/src/ip_adapter/android/caifaddrs.c
resource/csdk/resource-directory/src/internal/rd_database.c
resource/csdk/resource-directory/src/rd_client.c
resource/csdk/resource-directory/src/rd_server.c

index 43e2bb6..08a565a 100644 (file)
@@ -32,7 +32,7 @@
  * TAG
  * Logging tag for module name
  */
-#define TAG "UMUTEX"
+#define TAG "OIC_UMUTEX"
 
 typedef struct _tagMutexInfo_t
 {
index c635993..0dacb0c 100644 (file)
@@ -63,7 +63,7 @@
  * TAG
  * Logging tag for module name
  */
-#define TAG PCF("UMUTEX")
+#define TAG PCF("OIC_UMUTEX")
 
 #ifdef __ANDROID__
 /**
index 6a7fea2..3df579d 100644 (file)
@@ -25,7 +25,7 @@
 #include "caremotehandler.h"
 #include "logger.h"
 
-#define TAG "CA"
+#define TAG "OIC_CA_REMOTE_HANDLER"
 
 CAEndpoint_t *CACloneEndpoint(const CAEndpoint_t *rep)
 {
index 2b1939f..e9dfb18 100644 (file)
@@ -39,7 +39,7 @@
 #include "octhread.h"
 #include "platform_features.h"
 
-#define TAG PCF("UTHREADPOOL")
+#define TAG PCF("OIC_CA_UTHREADPOOL")
 
 /**
  * empty struct to represent the details.  This implementation has no data
index b6aef02..13b2a2c 100644 (file)
@@ -24,7 +24,7 @@
 #include "logger.h"
 #include "oic_malloc.h"
 
-#define TAG "UARRAYLIST"
+#define TAG "OIC_UARRAYLIST"
 
 /**
  * Use this default capacity when initialized
index 5dedb6b..7bcad43 100644 (file)
@@ -27,7 +27,7 @@
 /**
  * Logging tag for module name.
  */
-#define TAG "ULINKLIST"
+#define TAG "OIC_ULINKLIST"
 
 u_linklist_t *u_linklist_create()
 {
index 5464ea8..194300a 100644 (file)
@@ -35,7 +35,7 @@
  * @def TAG
  * @brief Logging tag for module name
  */
-#define TAG "UQUEUE"
+#define TAG "OIC_UQUEUE"
 
 u_queue_t *u_queue_create()
 {
index 42826d8..eadc2a4 100644 (file)
@@ -34,7 +34,7 @@
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h>
 #include "logger.h"
-#define TAG "OIC_CA_ifaddrs"
+#define TAG "OIC_CA_IFADDRS"
 #define VERIFY_NON_NULL(arg) { if (!arg) {OIC_LOG(ERROR, TAG, #arg " is NULL"); goto exit;} }
 
 #define NETLINK_MESSAGE_LENGTH  (4096)
index 4e69ec3..2685219 100644 (file)
@@ -30,7 +30,7 @@
 
 #ifdef RD_SERVER
 
-#define TAG "RD_DATABASE"
+#define TAG "OIC_RD_DATABASE"
 #define RD_PATH "RD.db"
 
 static sqlite3 *gRDDB = NULL;
index a2d6815..4710945 100644 (file)
@@ -29,7 +29,7 @@
 #include "ocpayload.h"
 #include "payload_logging.h"
 
-#define TAG "RD_CLIENT"
+#define TAG "OIC_RD_CLIENT"
 
 #ifdef RD_CLIENT
 
index fb7a11c..f8150e3 100644 (file)
@@ -25,7 +25,7 @@
 #include "ocpayload.h"
 #include "octypes.h"
 
-#define TAG  PCF("RDServer")
+#define TAG PCF("OIC_RD_SERVER")
 
 #ifdef RD_SERVER