# HG changeset patch # User Matthew Wild # Date 1261076517 0 # Node ID 87b66be6d514bf7650e111f5c0236c9d71dac1c9 # Parent d591e2c90807b34501afcb9059372cd347283d51 xmppserver_listener: Make log messages during SRV retries clearer diff -r d591e2c90807 -r 87b66be6d514 net/xmppserver_listener.lua --- a/net/xmppserver_listener.lua Wed Dec 16 00:11:54 2009 +0500 +++ 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