-
Notifications
You must be signed in to change notification settings - Fork 0
/
logging.yaml
41 lines (40 loc) · 837 Bytes
/
logging.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
40
41
version: 1
formatters:
logfile:
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
datefmt: '%m/%d/%Y %H:%M:%S %p'
console:
format: '%(asctime)s - %(message)s'
datefmt: '%H:%M:%S'
handlers:
console:
class: logging.StreamHandler
level: INFO
formatter: console
stream: ext://sys.stdout
file:
class: logging.FileHandler
filename: history.log
level: DEBUG
formatter: logfile
loggers:
contraloriadump:
level: INFO
handlers: [console,file]
propagate: no
crawler:
level: INFO
handlers: [console,file]
propagate: no
parser:
level: INFO
handlers: [console,file]
propagate: no
generator:
level: INFO
handlers: [console,file]
propagate: no
db_worker:
level: INFO
handlers: [console,file]
propagate: no