aboutsummaryrefslogtreecommitdiffstats
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
commitc733e10ba2d06213e1eb45d2e31baf3f9919d592 (patch)
tree9225387d5c7711f4a4676ce0db891e6e3a555479
parentb396fc61d55211c7ebd43b90677a2b5c24302bd7 (diff)
downloadprosody-c733e10ba2d06213e1eb45d2e31baf3f9919d592.tar.gz
prosody-c733e10ba2d06213e1eb45d2e31baf3f9919d592.zip
mod_mam: Include query id in final log message
Should make it easier to find related log messages
-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 })