[loggers]
keys = root, kafka, zookeeper, statsd

[handlers]
keys = console, file

[formatters]
keys = context

[logger_root]
level = DEBUG
handlers = console, file

[logger_kafka]
qualname = kafka
level = DEBUG
handlers = console, file
propagate = 0

[logger_zookeeper]
qualname = zookeeper
level = DEBUG
handlers = console, file
propagate = 0

[logger_statsd]
qualname = statsd
level = DEBUG
handlers = console, file
propagate = 0

[handler_console]
class = logging.StreamHandler
args = (sys.stderr,)
level = DEBUG
formatter = context

[handler_file]
class = logging.handlers.RotatingFileHandler
level = DEBUG
formatter = context
# store up to 5*100MB of logs
args = ('monasca-notification.log', 'a', 104857600, 5)

[formatter_context]
class = oslo_log.formatters.ContextFormatter
