forked from bcosorg/bcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
log.conf
29 lines (24 loc) · 1015 Bytes
/
log.conf
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 = "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 = "log/trace_log_%datetime{%Y%M%d%H}.log"
* DEBUG:
FILENAME = "log/debug_log_%datetime{%Y%M%d%H}.log"
* FATAL:
ENABLED = false
* ERROR:
FILENAME = "log/error_log_%datetime{%Y%M%d%H}.log"
* WARNING:
ENABLED = false
* INFO:
ENABLED = false
* VERBOSE:
ENABLED = false