Diff

plugins/mod_c2s.lua @ 5802:5b79710dd5a1

mod_c2s: Move another log message to debug level
author Kim Alvefur <zash@zash.se>
date Wed, 14 Aug 2013 15:38:56 +0200
parent 5801:224644752bf4
child 5859:e327f2d4e09f
line wrap: on
line diff
--- a/plugins/mod_c2s.lua	Wed Aug 14 15:00:36 2013 +0200
+++ b/plugins/mod_c2s.lua	Wed Aug 14 15:38:56 2013 +0200
@@ -157,7 +157,7 @@
 		function session.send() return false; end
 
 		local reason = (reason and (reason.name or reason.text or reason.condition)) or reason;
-		session.log("info", "c2s stream for %s closed: %s", session.full_jid or ("<"..session.ip..">"), reason or "session closed");
+		session.log("debug", "c2s stream for %s closed: %s", session.full_jid or ("<"..session.ip..">"), reason or "session closed");
 
 		-- Authenticated incoming stream may still be sending us stanzas, so wait for </stream:stream> from remote
 		local conn = session.conn;