aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s
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
commit5a5adc7aa92c0826d2f200d03e80b02ca75f9573 (patch)
tree4edd30ffbce040c290aa12a49ce65f2429845783 /plugins/s2s
parentf908f67fe29845d866a3a9469522b8d6fba4333f (diff)
downloadprosody-5a5adc7aa92c0826d2f200d03e80b02ca75f9573.tar.gz
prosody-5a5adc7aa92c0826d2f200d03e80b02ca75f9573.zip
mod_s2s: Log the entire stream header.
Diffstat (limited to 'plugins/s2s')
-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