-
Notifications
You must be signed in to change notification settings - Fork 14
/
logging.conf
65 lines (53 loc) · 877 Bytes
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[loggers]
keys=root,api,data,db,spider,validator,download
[logger_root]
level=INFO
handlers=screen
[logger_api]
level=INFO
handlers=screen
qualname=api
propagate=0
[logger_util]
level=INFO
handlers=screen
qualname=util
propagate=0
[logger_download]
level=INFO
handlers=screen
qualname=download
propagate=0
[logger_data]
level=DEBUG
handlers=screen
qualname=data
propagate=0
[logger_db]
level=DEBUG
handlers=screen
qualname=db
propagate=0
[logger_spider]
level=INFO
handlers=screen
qualname=spider
propagate=0
[logger_validator]
level=INFO
handlers=screen
qualname=validator
propagate=0
[handlers]
keys=screen
[handler_screen]
class=logging.StreamHandler
formatter=pretty
level=DEBUG
args=(sys.stderr, )
[formatters]
keys=pretty
[formatter_pretty]
format= %(module)s %(asctime)s %(levelname)s %(lineno)d %(message)s
datefmt= %Y-%m-%d %H:%M:%S
class=logging.Formatter