debug level logs should not be translated

According to the OpenStack translation policy available at
https://wiki.openstack.org/wiki/LoggingStandards debug messages
should not be translated. Like mentioned in several changes in
Nova by garyk this is to help prioritize log translation.

Change-Id: Ia4de833da457b587f24f31b106802c92d2139af6
This commit is contained in:
Christian Berendt
2014-05-17 14:11:58 +02:00
parent 6d6eff37a2
commit a0d7ef8c2c
3 changed files with 8 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ class Client(object):
Required when not using auth_plugin. When not provided,
the client will try to get this from the auth_plugin.
"""
LOG.debug(_("Creating Client object"))
LOG.debug("Creating Client object")
self._session = session or requests.Session()
self.verify = not insecure

View File

@@ -83,7 +83,7 @@ class OrderManager(base.BaseEntityManager):
format
:returns: Order href for the created order
"""
LOG.debug(_("Creating order"))
LOG.debug("Creating order")
order_dict = {'secret': {}}
order_dict['secret']['name'] = name
@@ -95,7 +95,7 @@ class OrderManager(base.BaseEntityManager):
order_dict['secret']['expiration'] = expiration
self._remove_empty_keys(order_dict['secret'])
LOG.debug(_("Request body: {0}").format(order_dict['secret']))
LOG.debug("Request body: {0}".format(order_dict['secret']))
resp = self.api.post(self.entity, order_dict)
return resp['order_ref']
@@ -106,7 +106,7 @@ class OrderManager(base.BaseEntityManager):
:param order_ref: The href for the order
"""
LOG.debug(_("Getting order - Order href: {0}").format(order_ref))
LOG.debug("Getting order - Order href: {0}".format(order_ref))
if not order_ref:
raise ValueError('order_ref is required.')
resp = self.api.get(order_ref)

View File

@@ -94,7 +94,7 @@ class VerificationManager(base.BaseEntityManager):
: with resource can be impersonated
:returns: Verification href for the created verification
"""
LOG.debug(_("Creating verification"))
LOG.debug("Creating verification")
verif_dict = {'resource_type': resource_type,
'resource_ref': resource_ref,
@@ -102,7 +102,7 @@ class VerificationManager(base.BaseEntityManager):
'impersonation_allowed': impersonation_allowed}
self._remove_empty_keys(verif_dict)
LOG.debug(_("Request body: {0}").format(verif_dict))
LOG.debug("Request body: {0}".format(verif_dict))
resp = self.api.post(self.entity, verif_dict)
return resp['verification_ref']
@@ -113,8 +113,8 @@ class VerificationManager(base.BaseEntityManager):
:param verification_ref: The href for the verification instance
"""
LOG.debug(_("Getting verification - "
"Verification href: {0}").format(verification_ref))
LOG.debug("Getting verification - "
"Verification href: {0}".format(verification_ref))
if not verification_ref:
raise ValueError('verif_ref is required.')
resp = self.api.get(verification_ref)