blob: 2ed6e157a7933395822762ed63e29bfbcb9055ad [file] [log] [blame]
Sergio Slobodrianf39aaf82017-02-28 16:10:16 -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'
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 console:
19 class : logging.StreamHandler
20 level: DEBUG
21 formatter: default
22 stream: ext://sys.stdout
23 fluent:
24 class: fluent.handler.FluentHandler
25 host: localhost
26 port: 24224
27 tag: voltha.logging
28 formatter: fluent_fmt
29 level: DEBUG
30 null:
31 class: logging.NullHandler
32
33 loggers:
34 amqp:
35 handlers: [null]
36 propagate: False
37 conf:
38 handlers: [null]
39 propagate: False
40 '': # root logger
41 handlers: [console, fluent]
42 level: INFO # this can be bumped up/down by -q and -v command line
43 # options
44 propagate: False
45