diff options
author | Kim Alvefur <zash@zash.se> | 2012-03-04 17:39:19 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-03-04 17:39:19 +0100 |
commit | 5a5adc7aa92c0826d2f200d03e80b02ca75f9573 (patch) | |
tree | 4edd30ffbce040c290aa12a49ce65f2429845783 /plugins/s2s/mod_s2s.lua | |
parent | f908f67fe29845d866a3a9469522b8d6fba4333f (diff) | |
download | prosody-5a5adc7aa92c0826d2f200d03e80b02ca75f9573.tar.gz prosody-5a5adc7aa92c0826d2f200d03e80b02ca75f9573.zip |
mod_s2s: Log the entire stream header.
Diffstat (limited to 'plugins/s2s/mod_s2s.lua')
-rw-r--r-- | plugins/s2s/mod_s2s.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua index 407a7e04..5e03e896 100644 --- a/plugins/s2s/mod_s2s.lua +++ b/plugins/s2s/mod_s2s.lua @@ -172,7 +172,7 @@ function stream_callbacks.streamopened(session, attr) 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 |