oslo: remove usage of oslo.log verbose option
The option was deprecated a long time ago, and will be removed in one of the next library releases, which will render neutron broken if we keep using the option. More details: http://lists.openstack.org/pipermail/openstack-dev/2016-May/095166.html Closes-Bug: #1586066 Change-Id: I884b4cc3ed04e4b5489e265c146666e04eb1bc27
This commit is contained in:
@@ -71,13 +71,7 @@ class NeutronApiService(WsgiService):
|
||||
|
||||
@classmethod
|
||||
def create(cls, app_name='neutron'):
|
||||
|
||||
# Setup logging early, supplying both the CLI options and the
|
||||
# configuration mapping from the config file
|
||||
# We only update the conf dict for the verbose and debug
|
||||
# flags. Everything else must be set up in the conf file...
|
||||
# Log the options used when starting if we're in debug mode...
|
||||
|
||||
# Setup logging early
|
||||
config.setup_logging()
|
||||
service = cls(app_name)
|
||||
return service
|
||||
|
||||
Reference in New Issue
Block a user