forked from FISCO-BCOS/FISCO-BCOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
log.conf.template
29 lines (24 loc) · 1.12 KB
/
log.conf.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
* GLOBAL:
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = false
FORMAT = "%level|%datetime{%Y-%M-%d %H:%m:%s}|%msg"
FILENAME = "{nodedir}log/log_%datetime{%Y%M%d%H}.log"
MILLISECONDS_WIDTH = 3
PERFORMANCE_TRACKING = false
MAX_LOG_FILE_SIZE = 209715200 ## 200MB - Comment starts with two hashes (##)
LOG_FLUSH_THRESHOLD = 100 ## Flush after every 100 logs
* TRACE:
FILENAME = "{nodedir}log/trace_log_%datetime{%Y%M%d%H}.log"
* DEBUG:
FILENAME = "{nodedir}log/debug_log_%datetime{%Y%M%d%H}.log"
* FATAL:
FILENAME = "{nodedir}log/fatal_log_%datetime{%Y%M%d%H}.log"
* ERROR:
FILENAME = "{nodedir}log/error_log_%datetime{%Y%M%d%H}.log"
* WARNING:
FILENAME = "{nodedir}log/warn_log_%datetime{%Y%M%d%H}.log"
* INFO:
FILENAME = "{nodedir}log/info_log_%datetime{%Y%M%d%H}.log"
* VERBOSE:
ENABLED = false