summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJosh Kearney <josh.kearney@rackspace.com>2010-11-20 12:16:54 -0600
committerJosh Kearney <josh.kearney@rackspace.com>2010-11-20 12:16:54 -0600
commit874edc5103e1ebbe1def1639ef056574dcd406e9 (patch)
tree75e9803371c413e6f6babea91856638d302b3a33 /nova
parentdec8aab1001d85ff7845f7521faf1f610700bd09 (diff)
Use logging.exception instead
Diffstat (limited to 'nova')
-rw-r--r--nova/rpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/rpc.py b/nova/rpc.py
index c7ff9ce6b..9938b0838 100644
--- a/nova/rpc.py
+++ b/nova/rpc.py
@@ -90,7 +90,7 @@ class Consumer(messaging.Consumer):
super(Consumer, self).__init__(*args, **kwargs)
break
except: # Catching all because carrot sucks
- logging.warning("AMQP server on %s:%d is unreachable. " \
+ logging.exception("AMQP server on %s:%d is unreachable. " \
"Trying again in 30 seconds." % (
FLAGS.rabbit_host,
FLAGS.rabbit_port))