summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-11-19 19:18:43 -0800
committerLance Stout <lancestout@gmail.com>2011-11-19 19:18:43 -0800
commitd1a945a3053b82d2553a48f2d2c5c69664e6fde4 (patch)
tree28713d925bbd15ea287cb556cf17333341f46f5f /sleekxmpp/xmlstream
parent685b9ab1022245196dfe05c6188a0f443c4fe9d6 (diff)
downloadslixmpp-d1a945a3053b82d2553a48f2d2c5c69664e6fde4.tar.gz
slixmpp-d1a945a3053b82d2553a48f2d2c5c69664e6fde4.tar.bz2
slixmpp-d1a945a3053b82d2553a48f2d2c5c69664e6fde4.tar.xz
slixmpp-d1a945a3053b82d2553a48f2d2c5c69664e6fde4.zip
Tidy up logging some more
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index 1c56fdc1..6d53022c 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -391,7 +391,7 @@ class XMLStream(object):
try:
if not self.use_proxy:
- log.debug("Connecting to %s:%s" % self.address)
+ log.debug("Connecting to %s:%s", *self.address)
self.socket.connect(self.address)
self.set_socket(self.socket, ignore=True)
@@ -808,7 +808,7 @@ class XMLStream(object):
if self.dns_answers[0] == address:
break
self.dns_answers.pop(idx)
- log.debug("Trying to connect to %s:%s" % address)
+ log.debug("Trying to connect to %s:%s", *address)
return address
def add_event_handler(self, name, pointer,