Update the default log levels

- Add the 'futurist=INFO' to the default log levels to disable the priodic
  debug log messages emitted by futurist.

- Clean the stevedore because it has been included in oslo.log config options[1]

[1]
https://github.com/openstack/oslo.log/blob/1.2.0/oslo_log/_options.py#L97

Change-Id: I8024fdc202be88fb25a82bd68dc3548b141acd70
Closes-Bug: #1575035
This commit is contained in:
liusheng 2016-04-26 16:29:05 +08:00
parent 789a457f88
commit 267ecbbabf

View File

@ -50,7 +50,7 @@ def prepare_service(argv=None, config_files=None):
oslo_i18n.enable_lazy()
log.register_options(conf)
log_levels = (conf.default_log_levels +
['stevedore=INFO', 'keystoneclient=INFO'])
['futurist=INFO', 'keystoneclient=INFO'])
log.set_defaults(default_log_levels=log_levels)
defaults.set_cors_middleware_defaults()
db_options.set_defaults(conf)