-
Notifications
You must be signed in to change notification settings - Fork 0
/
logger_config.ini
69 lines (55 loc) · 1.08 KB
/
logger_config.ini
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
66
67
68
69
[loggers]
keys = root,Cell,Grid,math,main,main2
[handlers]
keys = consoleHandler,fileHandler,fileHandler2
[formatters]
keys=fileFormatter,consoleFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler
[logger_Cell]
level=DEBUG
handlers=consoleHandler,fileHandler
qualname=Cell
propagate=0
[logger_main]
level=DEBUG
handlers=consoleHandler,fileHandler
qualname=main
propagate=0
[logger_main2]
level = DEBUG
handlers = fileHandler2
qualname = main2
propagate = 0
[logger_Grid]
level=DEBUG
handlers=consoleHandler,fileHandler
qualname=Grid
propagate=0
[logger_math]
level=DEBUG
handlers=consoleHandler,fileHandler
qualname=math
propagate=0
[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=consoleFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=FileHandler
level=DEBUG
formatter=fileFormatter
args=('logfile.log',)
[handler_fileHandler2]
class=FileHandler
level = DEBUG
formatter=fileFormatter
args=('logfile2.log',)
[formatter_fileFormatter]
format=%(asctime)s | [%(name)s] %(message)s
datefmt=
[formatter_consoleFormatter]
format=%(levelname)s - %(message)s
datefmt==