aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-11 23:22:59 +0200
committerKim Alvefur <zash@zash.se>2019-07-11 23:22:59 +0200
commit2f208d6021b741382ae25708d4cbbeba3f28eb00 (patch)
tree8887222e63113ef68d451223a1960489cb63cbbd /plugins
parentbf89be01bb4e16a11c72a7e1f6e8939b76aed47a (diff)
downloadprosody-2f208d6021b741382ae25708d4cbbeba3f28eb00.tar.gz
prosody-2f208d6021b741382ae25708d4cbbeba3f28eb00.zip
mod_mam: Make log message more compact
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_mam/mod_mam.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 4e0cf531..0b3b0b82 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -118,10 +118,11 @@ module:hook("iq-set/self/"..xmlns_mam..":query", function(event)
qstart, qend = vstart, vend;
end
- module:log("debug", "Archive query, id %s with %s from %s until %s",
- tostring(qid), qwith or "anyone",
- qstart and timestamp(qstart) or "the dawn of time",
- qend and timestamp(qend) or "now");
+ module:log("debug", "Archive query id=%s with=%s when=%s...%s",
+ qid or "-",
+ qwith or "*",
+ qstart and timestamp(qstart) or "",
+ qend and timestamp(qend) or "");
-- RSM stuff
local qset = rsm.get(query);