-
Notifications
You must be signed in to change notification settings - Fork 0
/
logger.conf
53 lines (42 loc) · 915 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
# https://www.geeksforgeeks.org/logging-in-python/
[loggers]
keys=root,EncryptService,FileService,EmbedService,EmbedToJpgService,Generator
[handlers]
keys=consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler
[logger_EncryptService]
level=INFO
handlers=consoleHandler
qualname=EncryptService
propagate=0
[logger_FileService]
level=INFO
handlers=consoleHandler
qualname=FileService
propagate=0
[logger_EmbedService]
level=INFO
handlers=consoleHandler
qualname=EmbedService
propagate=0
[logger_EmbedToJpgService]
level=INFO
handlers=consoleHandler
qualname=EmbedToJpgService
propagate=0
[logger_Generator]
level=INFO
handlers=consoleHandler
qualname=Generator
propagate=0
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[formatter_simpleFormatter]
format=%(asctime)s - %(levelname)s - %(name)s - %(message)s