# HG changeset patch # User Matthew Wild # Date 1246629491 -3600 # Node ID 83b297a412a2a32be52b9b9414d830e52c0c9897 # Parent fc420e9585c2fe82c91d1afad42f3d509ed68b02 s2smanager: Log the hostname and address when s2s connection fails instantly diff -r fc420e9585c2 -r 83b297a412a2 core/s2smanager.lua --- a/core/s2smanager.lua Fri Jul 03 04:24:30 2009 +0100 +++ b/core/s2smanager.lua Fri Jul 03 14:58:11 2009 +0100 @@ -238,7 +238,7 @@ conn:settimeout(0); local success, err = conn:connect(connect_host, connect_port); if not success and err ~= "timeout" then - log("warn", "s2s connect() failed: %s", err); + log("warn", "s2s connect() to %s (%s:%d) failed: %s", host_session.to_host, connect_host, connect_port, err); return false; end