summaryrefslogtreecommitdiff
path: root/nova/crypto.py
diff options
context:
space:
mode:
authorGary Kotton <gkotton@vmware.com>2014-06-12 01:40:36 -0700
committerGary Kotton <gkotton@vmware.com>2014-06-13 01:07:48 -0700
commit4dcf093236aa9492668695a9a085a61f2a886685 (patch)
treeb333486b5a4977e6e4b32c4f46127895ff337b3e /nova/crypto.py
parentf766da15abc4f8e246ab5541cbbcf044c615c109 (diff)
downloadnova-4dcf093236aa9492668695a9a085a61f2a886685.tar.gz
Don't translate debug level logs in nova
Our translation policy (https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation) calls for not translating debug level logs. This is to help prioritize log translation. Furthermore translation has a performance overhead, even if the log isn't used (since nova doesn't support lazy translation yet). This is the final patch ensuring that all fines in the nova directory no longer have translations for debug messages. Change-Id: Ib10f5826e2238cbb2d4315c48be570eb31b2ea55
Diffstat (limited to 'nova/crypto.py')
-rw-r--r--nova/crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/crypto.py b/nova/crypto.py
index d462468cc4..c718e053f3 100644
--- a/nova/crypto.py
+++ b/nova/crypto.py
@@ -390,7 +390,7 @@ def _sign_csr(csr_text, ca_folder):
with excutils.save_and_reraise_exception():
LOG.exception(_('Failed to write inbound.csr'))
- LOG.debug(_('Flags path: %s'), ca_folder)
+ LOG.debug('Flags path: %s', ca_folder)
start = os.getcwd()
# Change working dir to CA