From 7be2809c67aa0658d7d4c6666a754b5334d96c11 Mon Sep 17 00:00:00 2001 From: Tim Miller Date: Mon, 6 May 2013 11:52:30 -0700 Subject: [PATCH] Remove referances to LegacyFormatter in example logging.conf. A recent change (Ibe41afc6e9d7b432453785819821b3c8f0078613), removed nova.openstack.common.log.LegacyFormatter, and replaced it with ContextFormatter. This change updates the example logging config file to reflect this change, as any reference to the now-removed LegacyFormatter causes nova services to fail to start. Change-Id: I55a984ed7ea12c1dde49c4eb13d5b4f47471bf95 --- etc/nova/logging_sample.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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