# HG changeset patch # User Matthew Wild # Date 1258865208 0 # Node ID 20a52cfda9888191c74c129c2c3b375e2246dbab # Parent b5ee3c416609f17fdc962ea255a81f725fc67a9c stanza_router: Don't log full stanzas destined for s2s diff -r b5ee3c416609 -r 20a52cfda988 core/stanza_router.lua --- a/core/stanza_router.lua Sat Nov 21 23:04:26 2009 +0000 +++ b/core/stanza_router.lua Sun Nov 22 04:46:48 2009 +0000 @@ -180,7 +180,7 @@ local xmlns = stanza.attr.xmlns; --stanza.attr.xmlns = "jabber:server"; stanza.attr.xmlns = nil; - log("debug", "sending s2s stanza: %s", tostring(stanza)); + log("debug", "sending s2s stanza: %s", tostring(stanza.top_tag and stanza:top_tag()) or stanza); send_s2s(origin.host, host, stanza); -- TODO handle remote routing errors stanza.attr.xmlns = xmlns; -- reset else