提交 516ae82e authored 作者: Traun Leyden's avatar Traun Leyden

print out hostport of failed connection target

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7569 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 18a0b7a4
......@@ -216,8 +216,8 @@ class FreeswitchEventListenerFactory(ClientFactory):
if self.num_attempts < 10000:
self.num_attempts += 1
print "Connection refused, retrying attempt #%s in 5 seconds" % \
(self.num_attempts)
print "Connection to %s:%s refused, retrying attempt #%s in " \
"5 seconds" % (self.host, self.port, self.num_attempts)
return reactor.callLater(5, self.connect)
else:
print "clientConnectionFailed! conn=%s, reason=%s" % (connector,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论