blob: 92c778718a6619ca6e4e9cd0f0b394593e8e4a62 [file] [log] [blame]
Zsolt Haraszti8a774382016-10-24 18:25:54 -07001logging:
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'
Zsolt Haraszti8a774382016-10-24 18:25:54 -070010
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: ofagent.log
20 formatter: default
21 maxBytes: 2097152
22 backupCount: 10
23 level: DEBUG
Zsolt Haraszti8a774382016-10-24 18:25:54 -070024 null:
25 class: logging.NullHandler
26
27 loggers:
28 amqp:
29 handlers: [null]
30 propagate: False
31 conf:
Zsolt Haraszti8a774382016-10-24 18:25:54 -070032 propagate: False
33 '': # root logger
khenaidoo50b286d2018-03-02 17:44:30 -050034 handlers: [console, localRotatingFile]
Zsolt Haraszti8a774382016-10-24 18:25:54 -070035 level: INFO # this can be bumped up/down by -q and -v command line
36 # options
37 propagate: False