aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-11 23:31:51 +0200
committerKim Alvefur <zash@zash.se>2019-07-11 23:31:51 +0200
commitaa07a1cbe1d2454f8cc5d5d0570c1b167c53ea70 (patch)
tree70e23eb48af21b3641d956e057bb8da35acd809b
parent4e2269a9c3afc930eeaf094d116efb0e88c2c73a (diff)
downloadprosody-aa07a1cbe1d2454f8cc5d5d0570c1b167c53ea70.tar.gz
prosody-aa07a1cbe1d2454f8cc5d5d0570c1b167c53ea70.zip
mod_mam: Log more details in final log message
Saves you from counting messages sent
-rw-r--r--plugins/mod_mam/mod_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 5c796f9e..613d045a 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -197,7 +197,7 @@ module:hook("iq-set/self/"..xmlns_mam..":query", function(event)
end
-- That's all folks!
- module:log("debug", "Archive query id=%s completed", qid or stanza.attr.id);
+ module:log("debug", "Archive query id=%s completed, %d items returned", qid or stanza.attr.id, #results);
origin.send(st.reply(stanza)
:tag("fin", { xmlns = xmlns_mam, queryid = qid, complete = complete })