-
Notifications
You must be signed in to change notification settings - Fork 0
/
logging.ini
51 lines (41 loc) · 990 Bytes
/
logging.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
[loggers]
keys=root,debug,production
[handlers]
keys=consoleHandler,fileHandler,rotatingFileHandler
[formatters]
keys=fileFormatter,consoleFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler
[logger_debug]
level=DEBUG
handlers=consoleHandler,fileHandler
qualname=debug
propagate=0
[logger_production]
level=DEBUG
handlers=rotatingFileHandler
qualname=production
propagate=0
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=consoleFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=FileHandler
level=DEBUG
formatter=fileFormatter
args=('teletext_debug.log', 'w',)
[handler_rotatingFileHandler]
class=handlers.RotatingFileHandler
level=DEBUG
formatter=fileFormatter
args=('plugin.log', 'a', 100000, 4,)
[formatter_fileFormatter]
;format=[%(asctime)s] %(name)s - %(levelname)s : %(message)s
format=[%(asctime)s.%(msecs)03d] %(levelname)s - %(message)s
datefmt=%d/%m/%Y %H:%M:%S
[formatter_consoleFormatter]
format=%(levelname)s - %(message)s
datefmt=