Changeset

4513:23b540ab346a

core.s2smanager: Log the entire stream header.
author Kim Alvefur <zash@zash.se>
date Sun, 04 Mar 2012 17:38:47 +0100
parents 4511:92597f6223de
children 4514:ae48e0abc233
files core/s2smanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/s2smanager.lua	Tue Feb 21 21:13:13 2012 +0100
+++ b/core/s2smanager.lua	Sun Mar 04 17:38:47 2012 +0100
@@ -447,7 +447,7 @@
 		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