Software /
code /
prosody
Changeset
10075:5f58a81c7dcc
mod_mam: Log more details in final log message
Saves you from counting messages sent
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Jul 2019 23:31:51 +0200 |
parents | 10074:a1081443666c |
children | 10076:ee85cea08127 |
files | plugins/mod_mam/mod_mam.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 })