summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-06-21 16:40:34 +0000
committerGerrit Code Review <review@openstack.org>2012-06-21 16:40:34 +0000
commit3b9143fe10c3502e3b935214941c9ccafed3e82b (patch)
tree6cc879fbd3efc691f2af34c7db18806c5f39e8c8 /openstack
parente54850fb59ad226961022ff07c8777e0c276df3a (diff)
parentb686068279e13c1b40598117eb78494d9b7f6c91 (diff)
downloadoslo-3b9143fe10c3502e3b935214941c9ccafed3e82b.tar.gz
oslo-3b9143fe10c3502e3b935214941c9ccafed3e82b.tar.xz
oslo-3b9143fe10c3502e3b935214941c9ccafed3e82b.zip
Merge "Call exception on the logger, not the logging module."
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/rpc/impl_qpid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/impl_qpid.py b/openstack/common/rpc/impl_qpid.py
index 850a60c..d01bf0d 100644
--- a/openstack/common/rpc/impl_qpid.py
+++ b/openstack/common/rpc/impl_qpid.py
@@ -141,7 +141,7 @@ class ConsumerBase(object):
try:
self.callback(message.content)
except Exception:
- logging.exception(_("Failed to process message... skipping it."))
+ LOG.exception(_("Failed to process message... skipping it."))
finally:
self.session.acknowledge(message)