blob: 291d4abc8e4f1a2c006b08c2d0c4d60cdbdef27d [file] [log] [blame]
khenaidoo77c0d0c2017-08-24 13:45:14 -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: chameleon.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