c032fe44b1
manila.openstack.common.log.LegacyFormatter no longer exists. This change removes it from logging_sample.conf. Change-Id: I67daa0e11458272c0a67bd0754c00902d36e27ef Closes-Bug: #1499263
74 lines
1.2 KiB
Plaintext
74 lines
1.2 KiB
Plaintext
[loggers]
|
|
keys = root, manila
|
|
|
|
[handlers]
|
|
keys = stderr, stdout, watchedfile, syslog, null
|
|
|
|
[formatters]
|
|
keys = default
|
|
|
|
[logger_root]
|
|
level = WARNING
|
|
handlers = null
|
|
|
|
[logger_manila]
|
|
level = INFO
|
|
handlers = stderr
|
|
qualname = manila
|
|
|
|
[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 = default
|
|
|
|
[handler_stdout]
|
|
class = StreamHandler
|
|
args = (sys.stdout,)
|
|
formatter = default
|
|
|
|
[handler_watchedfile]
|
|
class = handlers.WatchedFileHandler
|
|
args = ('manila.log',)
|
|
formatter = default
|
|
|
|
[handler_syslog]
|
|
class = handlers.SysLogHandler
|
|
args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
|
|
formatter = default
|
|
|
|
[handler_null]
|
|
class = manila.common.openstack.NullHandler
|
|
formatter = default
|
|
args = ()
|
|
|
|
[formatter_default]
|
|
format = %(message)s
|