Diff

mod_smacks/mod_smacks.lua @ 3150:14b6ad2b773f

mod_smacks: Reduce unacked stanza log message from warn->debug
author Matthew Wild <mwild1@gmail.com>
date Tue, 26 Jun 2018 15:30:03 +0100
parent 3110:06e07b483805
child 3218:67f1d1f22625
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua	Mon Jun 25 23:58:13 2018 +0200
+++ b/mod_smacks/mod_smacks.lua	Tue Jun 26 15:30:03 2018 +0100
@@ -394,7 +394,7 @@
 		if not session.resumption_token then
 			local queue = session.outgoing_stanza_queue;
 			if #queue > 0 then
-				session.log("warn", "Destroying session with %d unacked stanzas", #queue);
+				session.log("debug", "Destroying session with %d unacked stanzas", #queue);
 				handle_unacked_stanzas(session);
 			end
 		else