# HG changeset patch # User Kim Alvefur # Date 1562880711 -7200 # Node ID 5f58a81c7dcc4472821126679fb7c4601fd5e313 # Parent a1081443666ce698f15136bed2f31142d010aa4b mod_mam: Log more details in final log message Saves you from counting messages sent diff -r a1081443666c -r 5f58a81c7dcc plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:31:13 2019 +0200 +++ b/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:31:51 2019 +0200 @@ -197,7 +197,7 @@ 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 })