Merge "Don't translate debug level logs in nova.conductor"
This commit is contained in:
commit
8de938e5a5
|
@ -162,7 +162,7 @@ class LiveMigrationTask(object):
|
|||
self._check_compatible_with_source_hypervisor(host)
|
||||
self._call_livem_checks_on_host(host)
|
||||
except exception.Invalid as e:
|
||||
LOG.debug(_("Skipping host: %(host)s because: %(e)s") %
|
||||
LOG.debug("Skipping host: %(host)s because: %(e)s",
|
||||
{"host": host, "e": e})
|
||||
attempted_hosts.append(host)
|
||||
host = None
|
||||
|
|
|
@ -211,6 +211,7 @@ def no_translate_debug_logs(logical_line, filename):
|
|||
"nova/volume",
|
||||
"nova/api",
|
||||
"nova/cells",
|
||||
"nova/conductor",
|
||||
]
|
||||
if max([name in filename for name in dirs]):
|
||||
if logical_line.startswith("LOG.debug(_("):
|
||||
|
|
Loading…
Reference in New Issue