Software /
code /
prosody
Changeset
4590:883611842d3a
mod_s2s: Log the entire stream header.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Mar 2012 17:39:19 +0100 |
parents | 4588:3e7702891649 |
children | 4591:75b3d0c301d0 |
files | plugins/s2s/mod_s2s.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <stream:stream>"); + (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