summaryrefslogtreecommitdiff
path: root/resource
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 /resource
parent43e88b2a34b1ad28835a7bc95b3c4c2e637bcdb3 (diff)
支持MESA_handle_log2
支持minidump
Diffstat (limited to 'resource')
-rw-r--r--resource/conf/cert_store.ini11
-rw-r--r--resource/conf/zlog.conf11
2 files changed, 19 insertions, 3 deletions
diff --git a/resource/conf/cert_store.ini b/resource/conf/cert_store.ini
index cf49563..93661b5 100644
--- a/resource/conf/cert_store.ini
+++ b/resource/conf/cert_store.ini
@@ -1,9 +1,14 @@
[SYSTEM]
#1:print on screen, 0:don't
DEBUG_SWITCH = 1
-#10:DEBUG, 20:INFO, 30:FATAL
-RUN_LOG_LEVEL = 10
-RUN_LOG_PATH = ./logs
+RUN_LOG_PATH = "conf/zlog.conf"
+
+[breakpad]
+disable_coredump=0
+enable_breakpad=1
+breakpad_minidump_dir=/tmp/certstore/crashreport
+enable_breakpad_upload=0
+breakpad_upload_url=http://127.0.0.1/
[CONFIG]
#Number of running threads
diff --git a/resource/conf/zlog.conf b/resource/conf/zlog.conf
new file mode 100644
index 0000000..32838a5
--- /dev/null
+++ b/resource/conf/zlog.conf
@@ -0,0 +1,11 @@
+[global]
+default format = "%d(%c), %V, %F, %U, %m%n"
+[levels]
+DEBUG=10
+INFO=20
+FATAL=30
+[rules]
+*.fatal "./logs/error.log.%d(%F)";
+*.debug "./logs/certstore.log.%d(%F)"
+!*.info "./logs/certstore.log.%d(%F)"
+