Software /
code /
prosody
Diff
plugins/mod_mam/mod_mam.lua @ 10071:b36e2631203d
mod_mam: Make log message more compact
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Jul 2019 23:22:59 +0200 |
parent | 10030:98ef41a60fc3 |
child | 10072:128142990b2b |
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua Wed Jul 10 19:12:19 2019 +0200 +++ b/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:22:59 2019 +0200 @@ -118,10 +118,11 @@ 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);