blob: a7dcefd74e385b50d44b8c9ccad6d03c652e4ac7 [file] [log] [blame]
khenaidoo379979e2017-08-24 11:51:00 -04001logging:
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'
10 fluent_fmt:
11 '()': fluent.handler.FluentRecordFormatter
12 format:
13 level: '%(levelname)s'
14 hostname: '%(hostname)s'
15 where: '%(module)s.%(funcName)s'
16
17 handlers:
18 fluent:
19 class: fluent.handler.FluentHandler
20 host: localhost
21 port: 24224
22 tag: netconf.logging
23 formatter: fluent_fmt
24 level: INFO
25 null:
26 class: logging.NullHandler
27
28 loggers:
29 amqp:
30 handlers: [null]
31 propagate: False
32 conf:
33 handlers: [null]
34 propagate: False
35 '': # root logger
36 handlers: [fluent]
37 level: INFO # this can be bumped up/down by -q and -v command line
38 # options
39 propagate: False