summaryrefslogtreecommitdiff
path: root/qpid/extras
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2011-01-05 21:48:26 +0000
committerJonathan Robie <jonathan@apache.org>2011-01-05 21:48:26 +0000
commit2e7b2c4918b34fff264ca4ffa50299473bc8fc20 (patch)
tree98c2f37bc76edc2d71bc9928a1f4e0f62cf9d501 /qpid/extras
parentf014a764fcf9236a776b369721431f4ffac4ac6a (diff)
downloadqpid-python-2e7b2c4918b34fff264ca4ffa50299473bc8fc20.tar.gz
Undo svn commit r1052086.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1055655 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/extras')
-rw-r--r--qpid/extras/qmf/src/py/qmf/console.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/qpid/extras/qmf/src/py/qmf/console.py b/qpid/extras/qmf/src/py/qmf/console.py
index 319cc97d89..15e12fbb6b 100644
--- a/qpid/extras/qmf/src/py/qmf/console.py
+++ b/qpid/extras/qmf/src/py/qmf/console.py
@@ -39,8 +39,8 @@ from Queue import Queue, Empty
from time import time, strftime, gmtime, sleep
from cStringIO import StringIO
-import qpid.log
-qpid.log.enable(name="qpid.qmf")
+#import qpid.log
+#qpid.log.enable(name="qpid.io.cmd", level=qpid.log.DEBUG)
#===================================================================================================
# CONSOLE
@@ -2509,14 +2509,6 @@ class Broker(Thread):
except Exception, e:
self.error = "Exception during connection setup: %s - %s" % (e.__class__.__name__, e)
-
- log = qpid.log.getLogger("qpid.qmf")
-
- if e[0] == -2:
- log.warning("Could not connect to broker " + self.host + ":" + str(self.port) + " " + str(e))
- else:
- log.error("Could not connect to broker " + self.host + ":" + str(self.port) + " " + str(e))
-
self.conn_exc = e
return False # connection failed