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 <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4845
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
// 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
//-----------------------------------------------------------------------------
/**
* 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"
/**
/**
* Logging tag for module name.
*/
-#define TAG "RM_INTERFACE"
+#define TAG "OIC_RM_INTERFACE"
/**
* Name of resource type.
/**
* Logging tag for module name.
*/
-#define TAG "RPM"
+#define TAG "OIC_RM_PARSER"
/**
* Table key to parser Payload Table.
/**
* 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"
/**
/**
* 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