aboutsummaryrefslogtreecommitdiffstats
path: root/src/framework/include/nstack_log.h
diff options
context:
space:
mode:
authorYalei Wang <william.wangyalei@huawei.com>2018-07-26 19:04:54 +0800
committerYalei Wang <william.wangyalei@huawei.com>2018-07-31 16:57:37 +0800
commited9cc5579ac9b017bd03472effe12a5625e03918 (patch)
treef8171be484af3b788c29aabaf7488cdd5b1e00e1 /src/framework/include/nstack_log.h
parent51884d17a7e9a5a6f15ac95707303a8479c1013f (diff)
Fix: change the log dir and update the log flush time
Change-Id: I385e02553a9a662fc51777fbac9ea12773526762 Signed-off-by: Yalei Wang <william.wangyalei@huawei.com>
Diffstat (limited to 'src/framework/include/nstack_log.h')
-rw-r--r--src/framework/include/nstack_log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/include/nstack_log.h b/src/framework/include/nstack_log.h
index 67e5b29..ec5dac6 100644
--- a/src/framework/include/nstack_log.h
+++ b/src/framework/include/nstack_log.h
@@ -106,7 +106,7 @@ enum _LOG_PROCESS
#define GET_FILE_NAME(name_have_path) strrchr(name_have_path,'/')?strrchr(name_have_path,'/')+1:name_have_path
-#define NSTACK_LOG_NAME "/product/gpaas/log/nStack"
+#define NSTACK_LOG_NAME "/var/log/nStack/"
#define STACKX_LOG_NAME "running.log"
@@ -118,7 +118,7 @@ enum _LOG_PROCESS
#define FAILURE_LOG_NAME "fail_dump.log"
-#define FLUSH_TIME 30
+#define FLUSH_TIME 10
#define APP_LOG_SIZE 30
#define APP_LOG_COUNT 10