--- a/core/stanza_router.lua Fri Nov 14 14:26:56 2008 +0000 +++ b/core/stanza_router.lua Fri Nov 14 16:03:33 2008 +0000 @@ -32,7 +32,7 @@ local print = print; function core_process_stanza(origin, stanza) - log("debug", "Received["..origin.type.."]: "..tostring(st.reply(st.reply(stanza)))) + log("debug", "Received[%s]: %s", origin.type, stanza:pretty_top_tag()) if not stanza.attr.xmlns then stanza.attr.xmlns = "jabber:client"; end -- FIXME Hack. This should be removed when we fix namespace handling. -- TODO verify validity of stanza (as well as JID validity)