Changeset

1293:ddbc1eb8d431

mod_smacks: Remove logging of unacked stanzas
author Matthew Wild <mwild1@gmail.com>
date Thu, 30 Jan 2014 13:39:24 +0000
parents 1292:2d061333d0c2
children 1294:bb1fb54360ab
files mod_smacks/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua	Tue Jan 28 12:47:06 2014 +0100
+++ b/mod_smacks/mod_smacks.lua	Thu Jan 30 13:39:24 2014 +0000
@@ -221,10 +221,7 @@
 		if not session.resumption_token then
 			local queue = session.outgoing_stanza_queue;
 			if #queue > 0 then
-				module:log("warn", "Destroying session with %d unacked stanzas:", #queue);
-				for i=1,#queue do
-					module:log("warn", "::%s", tostring(queue[i]));
-				end
+				module:log("warn", "Destroying session with %d unacked stanzas", #queue);
 				handle_unacked_stanzas(session);
 			end
 		else