-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogging.conf
More file actions
45 lines (36 loc) · 690 Bytes
/
logging.conf
File metadata and controls
45 lines (36 loc) · 690 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
43
44
45
[loggers]
keys=root,stdout,stderr,debug
[handlers]
keys=stdoutHandler,stderrHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=WARNING
handlers=stdoutHandler
[logger_stdout]
level=INFO
handlers=stdoutHandler
qualname=stdout
propagate=0
[logger_stderr]
level=ERROR
handlers=stderrHandler
qualname=stderr
propagate=0
[logger_debug]
level=DEBUG
handlers=stdoutHandler
qualname=debug
propagate=0
[handler_stdoutHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[handler_stderrHandler]
class=StreamHandler
level=ERROR
formatter=simpleFormatter
args=(sys.stderr,)
[formatter_simpleFormatter]
format=%(asctime)s - %(levelname)s - %(message)s