diff options
| author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2012-02-07 20:11:55 +0000 |
|---|---|---|
| committer | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2012-02-08 21:53:55 +0000 |
| commit | 2b538441a8aafde5dcc48939a091f22d1303f3bf (patch) | |
| tree | 210f3668fbd5ae6ae1c378e9b11d8a2ea4dde9fd /nova/utils.py | |
| parent | 85ae58c21fc9019dfef5585accd53bdc667debde (diff) | |
| download | nova-2b538441a8aafde5dcc48939a091f22d1303f3bf.tar.gz nova-2b538441a8aafde5dcc48939a091f22d1303f3bf.tar.xz nova-2b538441a8aafde5dcc48939a091f22d1303f3bf.zip | |
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
Diffstat (limited to 'nova/utils.py')
| -rw-r--r-- | nova/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
