From 2b538441a8aafde5dcc48939a091f22d1303f3bf Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Tue, 7 Feb 2012 20:11:55 +0000 Subject: Use named logger when available Cleanup a handful of places where named loggers are created for a particular module but aren't used consistently. Also fix a couple of log entries that aren't internationalized Change-Id: I38186d47e7f31626b3ead779707d8ee5a15f56ac --- nova/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/utils.py') diff --git a/nova/utils.py b/nova/utils.py index f9ffe3adc..0baacd25a 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -635,7 +635,7 @@ class LoopingCall(object): self.stop() done.send(e.retvalue) except Exception: - logging.exception('in looping call') + LOG.exception(_('in looping call')) done.send_exception(*sys.exc_info()) return else: -- cgit