aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-04 17:38:47 +0100
committerKim Alvefur <zash@zash.se>2012-03-04 17:38:47 +0100
commit98c7250a06ad269fda314e82992d78c9c7b8b024 (patch)
treecd48060b11179afd224b62ed83ede41a9849fcf3
parent972ed38d125a6b3d842289b8e6b83a5b3c2b1f28 (diff)
downloadprosody-98c7250a06ad269fda314e82992d78c9c7b8b024.tar.gz
prosody-98c7250a06ad269fda314e82992d78c9c7b8b024.zip
core.s2smanager: Log the entire stream header.
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 3a625157..e3c536f4 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -447,7 +447,7 @@ function 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