blob: f9f6351a27eae13fd15c271170d3881609700712 (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
## Do not modify
* GLOBAL:
FORMAT = "[%level|%datetime{%Y-%M-%d %H:%M:%s}]: %msg"
FILENAME = "myeasylog.log"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = true
## Specifies subsecond precision (previously called 'milliseconds width'). Width can be within range (1-6)
## SUBSECOND_PRECISION = 6
## PERFORMANCE_TRACKING = true
## If log file size of corresponding level is >= specified size, log file will be truncated.
## MAX_LOG_FILE_SIZE = 2097152
## Specifies number of log entries to hold until we flush pending log data
## LOG_FLUSH_THRESHOLD = 100
## Do not modify
* FATAL:
FORMAT = "[%level|%datetime{%Y-%M-%d %H:%m:%s}]: %msg"
FILENAME = "./log1/fatal_log_%datetime{%Y-%M-%d}"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = true
##SUBSECOND_PRECISION = 6
##PERFORMANCE_TRACKING = true
##MAX_LOG_FILE_SIZE = 2097152 ## 2MB
##LOG_FLUSH_THRESHOLD = 100 ## Flush after every 100 logs
* INFO:
FORMAT = "[%level|%datetime{%Y-%M-%d %H:%m:%s}]: %msg"
FILENAME = "./log1/info_log_%datetime{%Y-%M-%d}"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = false
##SUBSECOND_PRECISION = 6
##PERFORMANCE_TRACKING = true
##MAX_LOG_FILE_SIZE = 2097152 ## 2MB
##LOG_FLUSH_THRESHOLD = 100 ## Flush after every 100 logs
* DEBUG:
FORMAT = "[%level|%datetime{%Y-%M-%d %H:%m:%s}]: %msg"
FILENAME = "./log1/debug_log_%datetime{%Y-%M-%d}"
ENABLED = true
TO_FILE = true
TO_STANDARD_OUTPUT = false
##SUBSECOND_PRECISION = 6
##PERFORMANCE_TRACKING = true
##MAX_LOG_FILE_SIZE = 2097152 ## 2MB - Comment starts with two hashes (##)
##LOG_FLUSH_THRESHOLD = 100 ## Flush after every 100 logs
|