summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2020-09-27 18:38:49 +0800
committerfengweihao <[email protected]>2020-09-27 18:38:49 +0800
commita36312c1224f59b92f1d696f5c673a4ad5593bac (patch)
tree826cf5d47df2b24e5c15cb21cfd98fa120d79623 /program
parent43e88b2a34b1ad28835a7bc95b3c4c2e637bcdb3 (diff)
支持MESA_handle_log2
支持minidump
Diffstat (limited to 'program')
-rw-r--r--program/CMakeLists.txt1
-rw-r--r--program/src/cert_session.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/program/CMakeLists.txt b/program/CMakeLists.txt
index 55f86a6..c9fbd9a 100644
--- a/program/CMakeLists.txt
+++ b/program/CMakeLists.txt
@@ -19,5 +19,4 @@ target_link_libraries(certstore dl common
MESA_handle_logger
hiredis-static
MESA_field_stat
- gperftools-static
${SYSTEMD_LIBRARIES})
diff --git a/program/src/cert_session.cpp b/program/src/cert_session.cpp
index 9c2ff58..25c5540 100644
--- a/program/src/cert_session.cpp
+++ b/program/src/cert_session.cpp
@@ -2137,7 +2137,7 @@ static int mesa_fiel_stat_init()
FS_set_para(fs, APP_NAME, pname, strlen(pname)+1);
value=0;
FS_set_para(fs, FLUSH_BY_DATE, &value, sizeof(value));
- snprintf(stat_path, 128, "%s/fs2_%s.status", logging_sc_lid.run_log_path, pname);
+ snprintf(stat_path, 128, "%s/fs2_%s.status", "./logs", pname);
FS_set_para(fs, OUTPUT_DEVICE, stat_path, strlen(stat_path)+1);
value=1;
FS_set_para(fs, PRINT_MODE, &value, sizeof(value));