mod_c2s: Move another log message to debug level
[prosody.git] / plugins / mod_c2s.lua
index 1cf4b98dd9a435dc65cf70986fdbf31d7aa2ed9b..1fb8dcf571f8b072fb26dec9a0a632fcc822040a 100644 (file)
@@ -157,7 +157,7 @@ local function session_close(session, reason)
                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;