forked from bash0/cewe2pdf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
loggerconfig.yaml
39 lines (39 loc) · 875 Bytes
/
loggerconfig.yaml
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
version: 1
formatters:
mustsee:
format: '>>> %(message)s'
simple:
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
datefmt: '%H:%M:%S'
handlers:
consoleEverything:
class: logging.StreamHandler
level: DEBUG
formatter: simple
stream: ext://sys.stdout
consoleWarningOrWorse:
class: logging.StreamHandler
level: WARNING
formatter: simple
stream: ext://sys.stdout
consoleMustSee:
class: logging.StreamHandler
level: DEBUG
formatter: mustsee
stream: ext://sys.stdout
loggers:
cewe2pdf.config:
handlers: [consoleWarningOrWorse]
level: DEBUG
propagate: no
cewe2pdf.mustsee:
level: INFO
handlers: [consoleMustSee]
propagate: no
PIL.PngImagePlugin:
level: WARNING
handlers: [consoleEverything]
propagate: no
root:
level: INFO
handlers: [consoleEverything]