aboutsummaryrefslogtreecommitdiffstats
path: root/src/framework/include
diff options
context:
space:
mode:
authoryalei wang <wylandrea@gmail.com>2018-08-01 08:49:26 +0000
committerGerrit Code Review <gerrit@fd.io>2018-08-01 08:49:26 +0000
commitf168f527bb9587ec398a2fd3d98615188b0dfab1 (patch)
treea81954bf95ed2dfa8c112bfd66b2cfed975169b4 /src/framework/include
parent0460a273eadbe35144c71ca131de32307a4dbb82 (diff)
parented9cc5579ac9b017bd03472effe12a5625e03918 (diff)
Merge "Fix: change the log dir and update the log flush time"
Diffstat (limited to 'src/framework/include')
-rw-r--r--src/framework/include/nsfw_mgr_com_api.h2
-rw-r--r--src/framework/include/nstack_log.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/framework/include/nsfw_mgr_com_api.h b/src/framework/include/nsfw_mgr_com_api.h
index dcb602c..45102bb 100644
--- a/src/framework/include/nsfw_mgr_com_api.h
+++ b/src/framework/include/nsfw_mgr_com_api.h
@@ -107,7 +107,7 @@ typedef enum _fw_poc_type
NSFW_PROC_MAX = 16
} fw_poc_type;
-#define NSFW_DOMAIN_DIR "/var/run/"
+#define NSFW_DOMAIN_DIR "/var/log/nStack/"
#define NSTACK_MAX_PROC_NAME_LEN 20
typedef enum _nsfw_mgr_msg_rsp_code
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