forked from mlsecproject/gglsbl-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logging.conf
50 lines (40 loc) · 866 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
[loggers]
keys=root, update, gunicorn.error, gunicorn.access
[handlers]
keys=console, console_access
[formatters]
keys=generic, access
[logger_root]
level=ERROR
handlers=console
[logger_update]
level=DEBUG
handlers=console
propagate=0
qualname=update
[logger_gunicorn.error]
level=INFO
handlers=console
propagate=0
qualname=gunicorn.error
[logger_gunicorn.access]
level=INFO
handlers=console_access
propagate=0
qualname=gunicorn.access
[handler_console]
class=StreamHandler
formatter=generic
args=(sys.stdout, )
[handler_console_access]
class=StreamHandler
formatter=access
args=(sys.stdout, )
[formatter_generic]
format=%(asctime)s pid=%(process)d %(module)s %(levelname)s %(message)s
datefmt=%Y-%m-%dT%H:%M:%S%z
class=logging.Formatter
[formatter_access]
format=%(asctime)s pid=%(process)d %(message)s
datefmt=%Y-%m-%dT%H:%M:%S%z
class=logging.Formatter