blob: defc28655c9f8800cc65ff96d58c8a647d17fe3f [file] [log] [blame]
Khen Nursimulu3869d8d2016-11-28 20:44:28 -05001logging:
2 version: 1
3
4 formatters:
5 brief:
6 format: '%(message)s'
7 default:
8 format: '%(asctime)s.%(msecs)03d %(levelname)-8s %(module)s.%(funcName)s %(message)s'
9 datefmt: '%Y%m%dT%H%M%S'
Khen Nursimulu3869d8d2016-11-28 20:44:28 -050010
11 handlers:
12 console:
13 class : logging.StreamHandler
14 level: DEBUG
15 formatter: default
16 stream: ext://sys.stdout
khenaidoo80a7f572017-04-05 14:17:16 -050017 localRotatingFile:
18 class: logging.handlers.RotatingFileHandler
19 filename: netconf.log
20 formatter: default
21 maxBytes: 2097152
22 backupCount: 10
23 level: DEBUG
Khen Nursimulu3869d8d2016-11-28 20:44:28 -050024 null:
25 class: logging.NullHandler
26
27 loggers:
28 amqp:
29 handlers: [null]
30 propagate: False
31 conf:
Khen Nursimulu3869d8d2016-11-28 20:44:28 -050032 propagate: False
33 '': # root logger
khenaidoo50b286d2018-03-02 17:44:30 -050034 handlers: [console, localRotatingFile]
Khen Nursimulu3869d8d2016-11-28 20:44:28 -050035 level: INFO # this can be bumped up/down by -q and -v command line
36 # options
37 propagate: False