deb-murano/etc/murano/logging.conf.sample
ricolin c3938f7f67 fix typo oslo.messaginga
fix typo oslo.messaginga

Change-Id: Id56413b7d8261ba2116a75ce00c8b6442b42f30f
2016-06-08 09:58:21 +00:00

84 lines
1.6 KiB
Plaintext

[loggers]
keys: root,murano,applications
[handlers]
keys: watchedfile, applications, stderr, stdout, null
[formatters]
keys: context, default
[logger_root]
level = WARNING
handlers = watchedfile
[logger_applications]
level = DEBUG
handlers = applications
qualname = applications
[logger_murano]
level = INFO
handlers = watchedfile
qualname = murano
[logger_amqp]
level = WARNING
handlers = stderr
qualname = amqp
[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_eventletwsgi]
level = WARNING
handlers = stderr
qualname = eventlet.wsgi.server
[logger_messaging]
level = WARNING
handlers = stderr
qualname = oslo.messaging
[handler_null]
class = oslo_log.handlers.NullHandler
formatter = default
args = ()
[handler_stderr]
class = StreamHandler
args = (sys.stderr,)
formatter = context
[handler_stdout]
class = StreamHandler
args = (sys.stdout,)
formatter = context
[handler_watchedfile]
class: handlers.WatchedFileHandler
args: ('murano.log',)
formatter: context
[handler_applications]
class: handlers.WatchedFileHandler
args: ('applications.log',)
formatter: context
[formatter_default]
format = %(message)s
[formatter_context]
class: oslo_log.formatters.ContextFormatter
args: (datefmt=datefmt)
format: %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s
datefmt: %Y-%m-%d %H:%M:%S