-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample-log.settings
44 lines (30 loc) · 1.23 KB
/
example-log.settings
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
# Comments are allowed. Comment line begins with the '#' character
# and spans until the end of the line.
# Logging core settings section. May be omitted if no parameters specified within it.
[Core]
DisableLogging=false
#Filter="%Severity% >= 0"
# Sink settings sections
[Sinks.ConsoleSink]
# Sink destination type
Destination=Console
# Sink-specific filter. Optional, by default no filter is applied.
#Filter="%Target% contains \"ConsoleSink\""
# Formatter string. Optional, by default only log record message text is written.
Format="[%TimeStamp%] [%ProcessID%] [%ThreadID%] [%Severity%] %Message%"
# The flag shows whether the sink should be asynchronous
Asynchronous=false
# Enables automatic stream flush after each log record.
AutoFlush=true
[Sinks.FileSink]
# Sink destination type
Destination=TextFile
FileName="file_%Y%m%d.log"
# Sink-specific filter. Optional, by default no filter is applied.
#Filter="%Target% contains \"FileSink\""
# Formatter string. Optional, by default only log record message text is written.
Format="[%TimeStamp%] [%ProcessID%] [%ThreadID%] [%Severity%] %Message%"
# The flag shows whether the sink should be asynchronous
Asynchronous=false
# Enables automatic stream flush after each log record.
AutoFlush=true