[loggers]
keys = root, cinder

[handlers]
keys = stderr, stdout, watchedfile, syslog, null

[formatters]
keys = legacycinder, default

[logger_root]
level = WARNING
handlers = null

[logger_cinder]
level = INFO
handlers = stderr
qualname = cinder

[logger_amqplib]
level = WARNING
handlers = stderr
qualname = amqplib

[logger_sqlalchemy]
level = WARNING
handlers = stderr
qualname = sqlalchemy
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARNING" logs neither.  (Recommended for production systems.)

[logger_boto]
level = WARNING
handlers = stderr
qualname = boto

[logger_suds]
level = INFO
handlers = stderr
qualname = suds

[logger_eventletwsgi]
level = WARNING
handlers = stderr
qualname = eventlet.wsgi.server

[handler_stderr]
class = StreamHandler
args = (sys.stderr,)
formatter = legacycinder

[handler_stdout]
class = StreamHandler
args = (sys.stdout,)
formatter = legacycinder

[handler_watchedfile]
class = handlers.WatchedFileHandler
args = ('cinder.log',)
formatter = legacycinder

[handler_syslog]
class = handlers.SysLogHandler
args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
formatter = legacycinder

[handler_null]
class = cinder.common.openstack.NullHandler
formatter = default
args = ()

[formatter_legacycinder]
class = cinder.openstack.common.log.LegacyFormatter

[formatter_default]
format = %(message)s
