# HG changeset patch # User Kim Alvefur # Date 1330879159 -3600 # Node ID 883611842d3a4192b23249e7a1380eb277f8b0d3 # Parent 3e77028916494eb6f428b08cb6d254a37080e617 mod_s2s: Log the entire stream header. diff -r 3e7702891649 -r 883611842d3a plugins/s2s/mod_s2s.lua --- a/plugins/s2s/mod_s2s.lua Sat Mar 03 18:27:32 2012 +0000 +++ b/plugins/s2s/mod_s2s.lua Sun Mar 04 17:39:19 2012 +0100 @@ -172,7 +172,7 @@ session.from_host = attr.from and nameprep(attr.from); session.streamid = uuid_gen(); - (session.log or log)("debug", "Incoming s2s received "); + (session.log or log)("debug", "Incoming s2s received %s", st.stanza("stream:stream", attr):top_tag()); if session.to_host then if not hosts[session.to_host] then -- Attempting to connect to a host we don't serve