forked from treefrogframework/treefrog-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogger.ini
38 lines (30 loc) · 839 Bytes
/
logger.ini
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
##
## Logger settings file
##
[General]
# Specify loggers
Loggers=FileLogger
# Specify the default log text encoding. If not specified,
# the codec will be based on a system locale.
DefaultTextEncoding=
##
## FileLogger section
##
# Specify the application log file name.
FileLogger.Target=log/app.log
# Specify the layout of FileLogger.
# %d : date-time
# %p : priority (lowercase)
# %P : priority (uppercase)
# %t : thread ID (dec)
# %T : thread ID (hex)
# %i : PID (dec)
# %I : PID (hex)
# %m : log message
# %n : newline code
FileLogger.Layout="%d %5P [%t] %m%n"
# Specify the date-time format of FileLogger, see also QDateTime
# class reference.
FileLogger.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
# Outputs the logs of equal or higher priority than this.
FileLogger.Threshold=debug