summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/qmf/src/py/qmf/console.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/extras/qmf/src/py/qmf/console.py b/extras/qmf/src/py/qmf/console.py
index 319cc97d89..15e12fbb6b 100644
--- a/extras/qmf/src/py/qmf/console.py
+++ b/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