aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit460efc6b3e2713183e1f3e1fdd0018b90c08c83f (patch)
tree70e23eb48af21b3641d956e057bb8da35acd809b /plugins
parentc733e10ba2d06213e1eb45d2e31baf3f9919d592 (diff)
downloadprosody-460efc6b3e2713183e1f3e1fdd0018b90c08c83f.tar.gz
prosody-460efc6b3e2713183e1f3e1fdd0018b90c08c83f.zip
mod_mam: Log more details in final log message
Saves you from counting messages sent
Diffstat (limited to 'plugins')
-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 })