-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogging.conf.yaml
49 lines (46 loc) · 1.3 KB
/
logging.conf.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
42
43
44
45
46
47
48
version: 1
formatters:
simple:
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: simple
stream: ext://sys.stdout
console.main:
level: DEBUG
# level: INFO
class: logging.StreamHandler
formatter: simple
stream: ext://sys.stdout
file:
class : logging.handlers.RotatingFileHandler
formatter: simple
filename: reportDataCollector.log
# maxBytes: 1024
maxBytes: 1048576
backupCount: 3
loggers:
main:
# level: DEBUG
handlers: [console.main,file]
propagate: no
main._DATACOL:
# level: DEBUG # Levels can be controlled by component. It may not be straightforward, however.
handlers: [console.main,file]
propagate: no
main.DATACOLL:
# level: DEBUG # Levels can be controlled by component. It may not be straightforward, however.
handlers: [console.main,file]
propagate: no
main.RPTSTRCT:
# level: DEBUG # Levels can be controlled by component. It may not be straightforward, however.
handlers: [console.main,file]
propagate: no
main.RPT_DATA:
# level: DEBUG # Levels can be controlled by component. It may not be straightforward, however.
handlers: [console.main,file]
propagate: no
root:
level: DEBUG
handlers: [console]