[Freeswitch-svn] [commit] r7569 - freeswitch/trunk/scripts/socket/freepy

Freeswitch SVN greenlizard at freeswitch.org
Sat Feb 9 11:45:02 EST 2008


Author: greenlizard
Date: Sat Feb  9 11:45:02 2008
New Revision: 7569

Modified:
   freeswitch/trunk/scripts/socket/freepy/fseventlistener.py

Log:
print out hostport of failed connection target

Modified: freeswitch/trunk/scripts/socket/freepy/fseventlistener.py
==============================================================================
--- freeswitch/trunk/scripts/socket/freepy/fseventlistener.py	(original)
+++ freeswitch/trunk/scripts/socket/freepy/fseventlistener.py	Sat Feb  9 11:45:02 2008
@@ -216,8 +216,8 @@
 
         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,



More information about the Freeswitch-svn mailing list