system-config/modules/statusbot/files/logging.config
James E. Blair 6777d77355 Add statusbot to eavesdrop.o.o.
Change-Id: I3ae19a6321827b82ebf864182a1e5a90253b9c39
Reviewed-on: https://review.openstack.org/25755
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-29 22:14:13 +00:00

40 lines
704 B
Plaintext

[loggers]
keys=root,statusbot
[handlers]
keys=console,debug,normal
[formatters]
keys=simple
[logger_root]
level=WARNING
handlers=console
[logger_statusbot]
level=DEBUG
handlers=debug,normal
qualname=statusbot
[handler_console]
level=WARNING
class=StreamHandler
formatter=simple
args=(sys.stdout,)
[handler_debug]
level=DEBUG
class=logging.handlers.TimedRotatingFileHandler
formatter=simple
args=('/var/log/statusbot/statusbot_debug.log', 'midnight', 1, 30,)
[handler_normal]
level=INFO
class=logging.handlers.TimedRotatingFileHandler
formatter=simple
args=('/var/log/statusbot/statusbot.log', 'midnight', 1, 30,)
[formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt=