-
Notifications
You must be signed in to change notification settings - Fork 21
/
jython.logging.conf
58 lines (46 loc) · 1.04 KB
/
jython.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
[loggers]
keys=root,infra,test,urllib3
[logger_root]
handlers=screen,file
level=DEBUG
[logger_infra]
handlers=screen,file
level=ERROR
qualname=infra
propagate=0
[logger_test]
handlers=screen,file
level=INFO
qualname=test
propagate=0
[logger_urllib3]
level = CRITICAL
handlers =screen,file
qualname = urllib3.connectionpool
propagate=0
[logger_requests_urllib3]
level = CRITICAL
handlers =screen,file
qualname = urllib3.connectionpool
propagate=0
[formatters]
keys=simple,complex
[formatter_simple]
format=%(asctime)s | %(name)-5s | %(levelname)-7s | %(threadName)-10s | [%(module)s:%(funcName)s:%(lineno)d] %(message)s
[formatter_complex]
format=%(asctime)s | %(name)-5s | %(levelname)-7s | %(processName)-11s | %(threadName)-10s | [%(module)s:%(funcName)s:%(lineno)d] %(message)s
[handlers]
keys=file,screen
[handler_file]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
maxBytes=20000000
formatter=complex
level=DEBUG
args=('@@FILENAME@@',)
[handler_screen]
class=StreamHandler
formatter=simple
level=DEBUG
args=(sys.stdout,)