ini-file

Python code posted
created at 09 Mar 20:45, updated at 09 Mar 20:46

Edit | Back
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
# 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]
# Disable logging at all
DisableLogging=false

# Sink settings sections
[Sinks.AllLoggersConsole]

#Filter="%Severity% > 3"

# Sink destination type
Destination=Console

# Formatter string. Optional, by default only log record message text is written.
Format="[%TimeStamp%]: <%Severity%> %Message%"

# Sink settings sections
#[Sinks.AllLoggersFile]

# Sink destination type (Logging to file)
#Destination=TextFile

# File name pattern
#FileName="file_%5N.log"

#Target directory name, in which the rotated files will be stored
#Target=logs

#File size, in bytes, upon which file rotation will be performed. If not specified, no size-based rotation will be made.
#RotationSize=10485760

# Formatter string. Optional, by default only log record message text is written.
#Format="(%Scope%) [%TimeStamp%]: <%Severity%> %Message%"

# Enables automatic stream flush after each log record.
#AutoFlush=true

1.11 KB in 4 ms with coderay