aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-04 17:39:19 +0100
committerKim Alvefur <zash@zash.se>2012-03-04 17:39:19 +0100
commit14a9e3f3c9919642364ea3076fe97cf3adecdd65 (patch)
tree4edd30ffbce040c290aa12a49ce65f2429845783 /plugins/s2s/mod_s2s.lua
parent58e21b71744734e3e69fcaa9043f9e195889d706 (diff)
downloadprosody-14a9e3f3c9919642364ea3076fe97cf3adecdd65.tar.gz
prosody-14a9e3f3c9919642364ea3076fe97cf3adecdd65.zip
mod_s2s: Log the entire stream header.
Diffstat (limited to 'plugins/s2s/mod_s2s.lua')
-rw-r--r--plugins/s2s/mod_s2s.lua2
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