-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogging.conf
More file actions
42 lines (35 loc) · 778 Bytes
/
Copy pathlogging.conf
File metadata and controls
42 lines (35 loc) · 778 Bytes
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
[loggers]
keys=root,simpleExample
[handlers]
keys=consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler
[logger_simpleExample]
level=DEBUG
handlers=consoleHandler
qualname=simpleExamplepropogate=0
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(messages)s
### Dictionary format
# # handlers:
# console:
# class : logging.StreamHandler
# formatter: brief
# level : INFO
# filters: [allow_foo]
# stream : ext://sys.stdout
# file:
# class : logging.handlers.RotatingFileHandler
# formatter: precise
# filename: logconfig.log
# maxBytes: 1024
# backupCount: 3
###