-
Notifications
You must be signed in to change notification settings - Fork 1
/
logger.conf
59 lines (47 loc) · 974 Bytes
/
logger.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
[loggers]
keys=root,sConTPool,JrpcServerthreadPool,pollholder, schedular,
poller,mainApp
[handlers]
keys=fileHandler, consoleHandler
[formatters]
keys=myFormatter
[logger_root]
level=ERROR
handlers=fileHandler
[logger_sConTPool]
#level=DEBUG
level=INFO
handlers=consoleHandler
qualname=sConTPool
[logger_mainApp]
level=DEBUG
handlers=consoleHandler
qualname=mainApp
[logger_poller]
level=DEBUG
handlers=consoleHandler
qualname=poller
[logger_schedular]
level=DEBUG
handlers=consoleHandler
qualname=schedular
[logger_JrpcServerthreadPool]
level=INFO
handlers=consoleHandler
qualname=JrpcServerthreadPool
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=myFormatter
args=(sys.stdout,)
[logger_pollholder]
level=DEBUG
handlers=consoleHandler
qualname=pollholder
[handler_fileHandler]
class=FileHandler
formatter=myFormatter
args=("config.log",)
[formatter_myFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=