Merge "Don't translate debug level logs in cloudpipe, hacking, ipv6, keymgr"

This commit is contained in:
Jenkins 2014-05-06 05:48:18 +00:00 committed by Gerrit Code Review
commit df69ef4aa0
2 changed files with 6 additions and 1 deletions

View File

@ -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)

View File

@ -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(_("):