From 0a3b9be292dca0f0ce49c3b03444cf893828b4ed Mon Sep 17 00:00:00 2001 From: Jaehong Jo Date: Thu, 21 Jan 2016 16:53:51 +0900 Subject: [PATCH] Replaced current TAG with 'OIC_xxx' in c_common and routing To make easy debugging, I have modified TAG in c_common and routing. It is better to add common string 'OIC_' + current TAG name. Change-Id: I1965db71f58f0ab4dfe3e0bacdd243098d2baf77 Signed-off-by: Jaehong Jo Reviewed-on: https://gerrit.iotivity.org/gerrit/4845 Tested-by: jenkins-iotivity Reviewed-by: Jon A. Cruz --- resource/c_common/oic_malloc/src/oic_malloc.c | 2 +- resource/csdk/routing/src/routingmanager.c | 4 ++-- resource/csdk/routing/src/routingmanagerinterface.c | 2 +- resource/csdk/routing/src/routingmessageparser.c | 2 +- resource/csdk/routing/src/routingtablemanager.c | 4 ++-- resource/csdk/routing/src/routingutility.c | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/resource/c_common/oic_malloc/src/oic_malloc.c b/resource/c_common/oic_malloc/src/oic_malloc.c index 2c83059..7175f40 100644 --- a/resource/c_common/oic_malloc/src/oic_malloc.c +++ b/resource/c_common/oic_malloc/src/oic_malloc.c @@ -27,7 +27,7 @@ // Enable extra debug logging for malloc. Comment out to disable #ifdef ENABLE_MALLOC_DEBUG #include "logger.h" -#define TAG "OICMalloc" +#define TAG "OIC_MALLOC" #endif //----------------------------------------------------------------------------- diff --git a/resource/csdk/routing/src/routingmanager.c b/resource/csdk/routing/src/routingmanager.c index b13c3da..9c12c12 100644 --- a/resource/csdk/routing/src/routingmanager.c +++ b/resource/csdk/routing/src/routingmanager.c @@ -35,12 +35,12 @@ /** * Logging tag for module name. */ -#define TAG "RM" +#define TAG "OIC_RM" /** * Tag for printing the logs of forwarding the packet. */ -#define RM_TAG "RAP" +#define RM_TAG "OIC_RM_RAP" /** diff --git a/resource/csdk/routing/src/routingmanagerinterface.c b/resource/csdk/routing/src/routingmanagerinterface.c index 86c53c9..37e2f34 100644 --- a/resource/csdk/routing/src/routingmanagerinterface.c +++ b/resource/csdk/routing/src/routingmanagerinterface.c @@ -31,7 +31,7 @@ /** * Logging tag for module name. */ -#define TAG "RM_INTERFACE" +#define TAG "OIC_RM_INTERFACE" /** * Name of resource type. diff --git a/resource/csdk/routing/src/routingmessageparser.c b/resource/csdk/routing/src/routingmessageparser.c index 323b3aa..485bb6e 100644 --- a/resource/csdk/routing/src/routingmessageparser.c +++ b/resource/csdk/routing/src/routingmessageparser.c @@ -32,7 +32,7 @@ /** * Logging tag for module name. */ -#define TAG "RPM" +#define TAG "OIC_RM_PARSER" /** * Table key to parser Payload Table. diff --git a/resource/csdk/routing/src/routingtablemanager.c b/resource/csdk/routing/src/routingtablemanager.c index b611490..7730d38 100644 --- a/resource/csdk/routing/src/routingtablemanager.c +++ b/resource/csdk/routing/src/routingtablemanager.c @@ -29,12 +29,12 @@ /** * Logging tag for module name. */ -#define TAG "RTM" +#define TAG "OIC_RM_TM" /** * Tag for printing the Routing table. */ -#define RM_TAG "RAP" +#define RM_TAG "OIC_RM_RAP" /** diff --git a/resource/csdk/routing/src/routingutility.c b/resource/csdk/routing/src/routingutility.c index a0925c2..df6f121 100644 --- a/resource/csdk/routing/src/routingutility.c +++ b/resource/csdk/routing/src/routingutility.c @@ -28,12 +28,12 @@ /** * Logging tag for module name. */ -#define TAG "RM_UTIL" +#define TAG "OIC_RM_UTIL" /** * Tag for printing the logs of forwarding the packet. */ -#define RM_TAG "RAP" +#define RM_TAG "OIC_RM_RAP" /** * Minimum routing option data length is -- 2.7.4