forked from elpatron68/fritzcap
-
Notifications
You must be signed in to change notification settings - Fork 11
/
logging.conf
43 lines (34 loc) · 1.04 KB
/
logging.conf
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
[loggers]
keys=root
[handlers]
keys=consoleHandler,debugFileHandler,infoFileHandler
[formatters]
keys=debugFormatter,infoFormatter,lessInfoFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler,debugFileHandler,infoFileHandler
[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=lessInfoFormatter
args=(sys.stdout,)
[handler_debugFileHandler]
class=FileHandler
level=DEBUG
formatter=debugFormatter
args=("log_debug_fritzcap.txt",)
[handler_infoFileHandler]
class=FileHandler
level=INFO
formatter=infoFormatter
args=("log_info_fritzcap.txt",)
[formatter_lessInfoFormatter]
format=%(asctime)s - %(message)s
datefmt=
[formatter_infoFormatter]
format=%(asctime)s [%(levelname)-8s] %(message)s
datefmt=
[formatter_debugFormatter]
#format=%(asctime)s [%(threadName)10s::%(thread)d] [%(processName)11s::%(process)d] [%(levelname)-8s] [%(module)16s::%(funcName)-18s] %(message)s
format=%(asctime)s [%(threadName)10s::%(thread)-5d] [%(levelname)-8s] [%(module)16s::%(funcName)-18s] %(message)s
datefmt=