Software /
code /
prosody
Changeset
10071:b36e2631203d
mod_mam: Make log message more compact
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Jul 2019 23:22:59 +0200 |
parents | 10070:d7cae7187943 |
children | 10072:128142990b2b |
files | plugins/mod_mam/mod_mam.lua |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
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);