aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit5442ecd0fee91a236bbdacd1ed631398b4bb0c33 (patch)
treecd48060b11179afd224b62ed83ede41a9849fcf3 /core
parentf9853f402b8257dba0b5bacd5e522ba89c9ade25 (diff)
downloadprosody-5442ecd0fee91a236bbdacd1ed631398b4bb0c33.tar.gz
prosody-5442ecd0fee91a236bbdacd1ed631398b4bb0c33.zip
core.s2smanager: Log the entire stream header.
Diffstat (limited to 'core')
-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