-
Notifications
You must be signed in to change notification settings - Fork 0
/
log42.properties
82 lines (64 loc) · 2.77 KB
/
log42.properties
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# For further details see https://github.com/studio42gmbh/log42#explanation-of-properties-of-des42log42implfileandconsolelogger
# Select the factory implementation class
# You can easily insert your own here
# (Default is: de.s42.log.impl.ConsoleLogger)
loggerFactory = de.s42.log.impl.FileAndConsoleLogger
# Elements will use ANSI for coloring
# (Default is: false)
enableAnsi = true
# Lowest level which will be logged
# (Default is: DEBUG)
level = DEBUG
# Lowest level which will be logged into err output
# (Default is: ERROR)
errorLevel = ERROR
# Adds a line under each log which allows to get to the code where the log was done in IDEs like netbeans
# (Default is: false)
printTraceLine = true
# Format of the date info
# For format details see https://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/text/SimpleDateFormat.html
# (Default is: HH:mm:ss:SSS)
dateFormat = HH:mm:ss:SSS
# Is file logging active
# (Default is: false)
logToFile = true
# Write file in own thread
# If activated make sure you consider the implications when exiting while writing or keeping the process open by writer
# (Default is: false)
writeFileAsynchronous = false
# File writer will be spawned as daemon thread or not
# If not you have to call FileAndConsoleLogger.finishFileWriting() or exit hard otherwise the process will no terminate
# (Default is: false)
fileWriterDaemon = false
# Elements will remove user ANSI for coloring from files
# (Default is: false)
removeAnsiInFiles = true
# Elements will replace newlines within the logs with "\n"
# (Default is: false)
removeInnerNewlinesInFiles = true
# String used for separating the info parts in a file
# (Default is: ' ')
fileInfoSeparator = ;
# Format of the date info
# For format details see https://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/text/SimpleDateFormat.html
# (Default is: yyyy-MM-dd HH:mm:ss:SSS)
fileDateFormat = yyyy-MM-dd HH:mm:ss:SSS
# File to log into
# Format: %y = year like 2021; %m = month like 06; %d = day like 27;
# (Required if logToFile == true)
file = ./target/log/%y/%m/log42-test-%y-%m-%d.log
# Lowest level which will be logged into errorFile output
# (Default is: NEVER)
fileErrorLevel = ERROR
# File to log errors into
# Format: %y = year like 2021; %m = month like 06; %d = day like 27;
# (Required fileErrorLevel > NEVER)
errorFile = ./target/log/%y/%m/log42-test-%y-%m-%d.error.log
# File to log performance data into
# (Default is: false)
logToPerformanceFile = true
# File to log performance infos into
# Format: %y = year like 2021; %m = month like 06; %d = day like 27;
# For the resulting JSON file format see https://www.chromium.org/developers/how-tos/trace-event-profiling-tool
# (Required if logToPerformanceFile == true)
performanceFile = ./target/log/%y/%m/log42-test-%y-%m-%d.performance.json