plugins/mod_mam/mod_mam.lua
changeset 10739 f2838ffcc499
parent 10738 136c41a3d03c
child 10740 c5a3576a5335
--- a/plugins/mod_mam/mod_mam.lua	Tue Apr 21 00:53:21 2020 +0200
+++ b/plugins/mod_mam/mod_mam.lua	Tue Apr 21 00:53:23 2020 +0200
@@ -323,7 +323,7 @@
 
 	-- Check with the users preferences
 	if shall_store(store_user, with) then
-		log("debug", "Archiving stanza: %s", stanza:top_tag());
+		log("debug", "Archiving stanza: %s (%s)", stanza:top_tag(), why);
 
 		-- And stash it
 		local time = time_now();