Merge "Don't translate debug level logs in cloudpipe, hacking, ipv6, keymgr"
This commit is contained in:
commit
df69ef4aa0
|
@ -122,7 +122,7 @@ class CloudPipe(object):
|
|||
return encoded
|
||||
|
||||
def launch_vpn_instance(self, context):
|
||||
LOG.debug(_("Launching VPN for %s") % (context.project_id))
|
||||
LOG.debug("Launching VPN for %s", context.project_id)
|
||||
key_name = self.setup_key_pair(context)
|
||||
group_name = self.setup_security_group(context)
|
||||
flavor = flavors.get_flavor_by_name(CONF.vpn_flavor)
|
||||
|
|
|
@ -224,6 +224,11 @@ def no_translate_debug_logs(logical_line, filename):
|
|||
"nova/cert",
|
||||
"nova/console",
|
||||
"nova/consoleauth",
|
||||
"nova/cloudpipe",
|
||||
"nova/image",
|
||||
"nova/hacking",
|
||||
"nova/ipv6",
|
||||
"nova/keymgr",
|
||||
]
|
||||
if max([name in filename for name in dirs]):
|
||||
if logical_line.startswith("LOG.debug(_("):
|
||||
|
|
Loading…
Reference in New Issue