log: enable dlog by default to debug client error
[platform/core/uifw/libtdm.git] / common / tdm_log.c
index fc1a8f1..593dc5e 100644 (file)
@@ -61,7 +61,7 @@
 #undef LOG_TAG
 #define LOG_TAG "TDM"
 
-static unsigned int dlog_enable;
+static unsigned int dlog_enable = 1;
 static unsigned int color_enable = 1;
 static unsigned int debug_level = TDM_LOG_LEVEL_INFO;
 
@@ -85,8 +85,8 @@ _tdm_log_check_env(void)
                debug_level = TDM_LOG_LEVEL_DBG;
 
        str = getenv("TDM_DLOG");
-       if (str && (strstr(str, "1")))
-               dlog_enable = 1;
+       if (str && (strstr(str, "0")))
+               dlog_enable = 0;
 }
 
 EXTERN void