# HG changeset patch # User Kim Alvefur # Date 1562880673 -7200 # Node ID a1081443666ce698f15136bed2f31142d010aa4b # Parent 9137c9ce8b52e82fa3336c9383d6649e0b977778 mod_mam: Include query id in final log message Should make it easier to find related log messages diff -r 9137c9ce8b52 -r a1081443666c plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:26:02 2019 +0200 +++ b/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:31:13 2019 +0200 @@ -197,7 +197,7 @@ end -- That's all folks! - module:log("debug", "Archive query %s completed", tostring(qid)); + module:log("debug", "Archive query id=%s completed", qid or stanza.attr.id); origin.send(st.reply(stanza) :tag("fin", { xmlns = xmlns_mam, queryid = qid, complete = complete })