diff --git a/etc/nova/logging_sample.conf b/etc/nova/logging_sample.conf index 647085078505..59e24f57c683 100644 --- a/etc/nova/logging_sample.conf +++ b/etc/nova/logging_sample.conf @@ -5,7 +5,7 @@ keys = root, nova keys = stderr, stdout, watchedfile, syslog, null [formatters] -keys = legacynova, default +keys = context, default [logger_root] level = WARNING @@ -47,30 +47,30 @@ qualname = eventlet.wsgi.server [handler_stderr] class = StreamHandler args = (sys.stderr,) -formatter = legacynova +formatter = context [handler_stdout] class = StreamHandler args = (sys.stdout,) -formatter = legacynova +formatter = context [handler_watchedfile] class = handlers.WatchedFileHandler args = ('nova.log',) -formatter = legacynova +formatter = context [handler_syslog] class = handlers.SysLogHandler args = ('/dev/log', handlers.SysLogHandler.LOG_USER) -formatter = legacynova +formatter = context [handler_null] class = nova.openstack.common.log.NullHandler formatter = default args = () -[formatter_legacynova] -class = nova.openstack.common.log.LegacyFormatter +[formatter_context] +class = nova.openstack.common.log.ContextFormatter [formatter_default] format = %(message)s