# HG changeset patch # User Kim Alvefur # Date 1562880179 -7200 # Node ID b36e2631203d79eddcac2be8f59d0333deae8156 # Parent d7cae71879432b248370dac4fabb57b82026d750 mod_mam: Make log message more compact diff -r d7cae7187943 -r b36e2631203d plugins/mod_mam/mod_mam.lua --- 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);