aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-11 23:31:13 +0200
committerKim Alvefur <zash@zash.se>2019-07-11 23:31:13 +0200
commit4e2269a9c3afc930eeaf094d116efb0e88c2c73a (patch)
tree9225387d5c7711f4a4676ce0db891e6e3a555479 /plugins
parentf16711edf5cb9b0456a457ca55d42ad6d8500019 (diff)
downloadprosody-4e2269a9c3afc930eeaf094d116efb0e88c2c73a.tar.gz
prosody-4e2269a9c3afc930eeaf094d116efb0e88c2c73a.zip
mod_mam: Include query id in final log message
Should make it easier to find related log messages
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 cc06b617..5c796f9e 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 %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 })