Merge "Remove usage of option 'verbose'"

This commit is contained in:
Jenkins 2017-03-17 07:52:26 +00:00 committed by Gerrit Code Review
commit fbd8da59a1

View File

@ -933,7 +933,7 @@ class Resource(object):
def log_exception(err, exc_info):
args = {'exc_info': exc_info} if cfg.CONF.verbose or cfg.CONF.debug else {}
args = {'exc_info': exc_info} if cfg.CONF.debug else {}
LOG.error(_LE("Unexpected error occurred serving API: %s"), err,
**args)