Modify init value for logging mode 96/246696/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.5/unified/20211028.100937 accepted/tizen/7.0/unified/20221110.062322 accepted/tizen/7.0/unified/hotfix/20221116.105224 accepted/tizen/unified/20201103.123330 submit/tizen/20201103.080856 submit/tizen_6.5/20211028.162201 tizen_6.5.m2_release tizen_7.0_m2_release
authorhyunuk.tak <hyunuk.tak@samsung.com>
Tue, 3 Nov 2020 07:20:11 +0000 (16:20 +0900)
committerhyunuk.tak <hyunuk.tak@samsung.com>
Tue, 3 Nov 2020 07:20:11 +0000 (16:20 +0900)
Change-Id: I084a48cb6c72eba20ce771add57218442f5b6bb2

src/helper/helper-config.c
src/helper/helper-log.c

index a3df39c..26801e8 100755 (executable)
@@ -96,6 +96,6 @@ void helper_config_init(void)
        if (!keyfile)
                keyfile = g_key_file_new();
 
-       g_key_file_set_integer(keyfile, path, INFO_LOGMODE, 1);
+       g_key_file_set_integer(keyfile, path, INFO_LOGMODE, 0);
        __save_config_file(keyfile, path);
 }
index 2dbc87b..edcf9c7 100755 (executable)
@@ -29,7 +29,7 @@
 #define MAX_LOG_COUNT   3
 
 static FILE *g_log_file = NULL;
-static int g_log_mode = 1;
+static int g_log_mode = 0;
 
 //LCOV_EXCL_START
 static void __stc_iptables_log_update_file_revision(int rev)