# HG changeset patch # User Kim Alvefur # Date 1498218819 -7200 # Node ID 7568157bf9984d233ab623d73949af474702d9c7 # Parent 02d688ba7739bec8e84f3ea9dda6b295a8c52a86 mod_mam_muc: Add debug logging like in mod_mam diff -r 02d688ba7739 -r 7568157bf998 mod_mam_muc/mod_mam_muc.lua --- a/mod_mam_muc/mod_mam_muc.lua Fri Jun 23 13:51:23 2017 +0200 +++ b/mod_mam_muc/mod_mam_muc.lua Fri Jun 23 13:53:39 2017 +0200 @@ -203,6 +203,11 @@ qstart, qend = vstart, vend; end + module:log("debug", "Archive query id %s from %s until %s)", + tostring(qid), + qstart and timestamp(qstart) or "the dawn of time", + qend and timestamp(qend) or "now"); + -- RSM stuff local qset = rsm.get(query); local qmax = m_min(qset and qset.max or 20, 20);