Refactoring structures for monitoring and restrictions
[platform/core/connectivity/stc-manager.git] / plugin / exception / stc-plugin-exception.c
index db22b2f..4769c3e 100644 (file)
@@ -99,8 +99,9 @@ static void __excn_hash_foreach_print(gpointer key, gpointer value,
        const char *process_name = key;
        const char *exe_type = value;
 
-       STC_LOGI("excn info => process_name [%s] exe_type [%s]",
-               process_name, exe_type);
+       if (STC_DEBUG_LOG)
+               STC_LOGI("Process_name[%s] exe_type[%s]",
+                       process_name, exe_type);
 }
 
 static void __excn_hash_printall(void)