支持MESA_handle_log2

支持minidump
This commit is contained in:
fengweihao
2020-09-27 18:38:49 +08:00
parent 43e88b2a34
commit a36312c122
9 changed files with 48 additions and 19 deletions

View File

@@ -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

11
resource/conf/zlog.conf Normal file
View File

@@ -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)"