Separate debug log with info config
[platform/core/connectivity/stc-manager.git] / src / stc-manager.c
index 46401fb..ba9356d 100755 (executable)
@@ -62,10 +62,8 @@ static void __stc_inotify_handler(struct inotify_event *event, const char *ident
                return;
        }
 
-       if (!g_strcmp0(ident, INFO_CONFIG)) {
-               int debug = stc_util_get_config_int(INFO_DEBUGLOG);
-               stc_util_set_debuglog(debug);
-       }
+       if (!g_strcmp0(ident, INFO_CONFIG))
+               stc_util_update_log_state();
 }
 
 static void __stc_manager_deinit(void)