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
This commit is contained in:
parent
6cbb320926
commit
7be2809c67
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user