# HG changeset patch # User Matthew Wild # Date 1261076517 0 # Node ID d783c8de379d34d1bc8b3eaf14ef8812fc0e33f6 # Parent fe2819d281d548c3e357b1a19fa4911bd37beed6 xmppserver_listener: Make log messages during SRV retries clearer diff -r fe2819d281d5 -r d783c8de379d net/xmppserver_listener.lua --- a/net/xmppserver_listener.lua Thu Dec 17 19:00:36 2009 +0000 +++ b/net/xmppserver_listener.lua Thu Dec 17 19:01:57 2009 +0000 @@ -152,9 +152,9 @@ local session = sessions[conn]; if session then if err and err ~= "closed" and session.srv_hosts then - (session.log or log)("debug", "s2s connection closed unexpectedly"); + (session.log or log)("debug", "s2s connection attempt failed: %s", err); if s2s_attempt_connect(session, err) then - (session.log or log)("debug", "...so we're going to try again"); + (session.log or log)("debug", "...so we're going to try another target"); return; -- Session lives for now end end