forked from mdhiggins/sickbeard_mp4_automator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logging.ini
45 lines (36 loc) · 828 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
[loggers]
#keys=root, manual
keys=root
[handlers]
keys=consoleHandler, fileHandler, manualHandler
[formatters]
keys=simpleFormatter, minimalFormatter
[logger_root]
level=NOTSET
handlers=manualHandler, fileHandler
#[logger_manual]
#level=DEBUG
#handlers=manualHandler, fileHandler
#propagate=0
#qualname=MANUAL
[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=simpleFormatter
args=(sys.stdout,)
[handler_manualHandler]
class=StreamHandler
level=INFO
formatter=minimalFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=handlers.RotatingFileHandler
level=DEBUG
formatter=simpleFormatter
args=('%(logfilename)s', 10000, 3)
[formatter_simpleFormatter]
format=%(asctime)s - %(name)15.15s - %(levelname)7s - %(message)s
datefmt=%Y-%m-%d %H:%M:%S
[formatter_minimalFormatter]
format=%(message)s
datefmt=