3cbaa41e3f
Change-Id: If32becf64f944cba39cdba025eb57cd55f6825db Reviewed-on: https://review.openstack.org/26391 Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
45 lines
769 B
Plaintext
45 lines
769 B
Plaintext
[loggers]
|
|
keys=root,statusbot,irc
|
|
|
|
[handlers]
|
|
keys=console,debug,normal
|
|
|
|
[formatters]
|
|
keys=simple
|
|
|
|
[logger_root]
|
|
level=WARNING
|
|
handlers=console
|
|
|
|
[logger_statusbot]
|
|
level=DEBUG
|
|
handlers=debug,normal
|
|
qualname=statusbot
|
|
|
|
[logger_irc]
|
|
level=DEBUG
|
|
handlers=debug,normal
|
|
qualname=irc
|
|
|
|
[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=
|