summaryrefslogtreecommitdiff
path: root/etc/nova/logging_sample.conf
diff options
context:
space:
mode:
authorTim Miller <tim.miller.0@gmail.com>2013-05-06 11:52:30 -0700
committerTim Miller <tim.miller.0@gmail.com>2013-05-06 11:54:15 -0700
commit7be2809c67aa0658d7d4c6666a754b5334d96c11 (patch)
tree309b71ba6bb662b23c1a32bced6a39fdfd2a7c02 /etc/nova/logging_sample.conf
parent6cbb3209264fc5af6cf8faedfcc66c7b485fb601 (diff)
downloadnova-7be2809c67aa0658d7d4c6666a754b5334d96c11.tar.gz
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
Diffstat (limited to 'etc/nova/logging_sample.conf')
-rw-r--r--etc/nova/logging_sample.conf14
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/nova/logging_sample.conf b/etc/nova/logging_sample.conf
index 6470850785..59e24f57c6 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