Mercurial > prosody-modules
changeset 2938:f000ba14d531
mod_storage_xmlarchive: Add a debug message to try to track down why all indicies are read in some cases
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 18 Mar 2018 22:39:42 +0100 (2018-03-18) |
parents | e672d1050529 |
children | 280305c043b0 d0ca211e1b0e |
files | mod_storage_xmlarchive/mod_storage_xmlarchive.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sat Mar 17 12:58:37 2018 +0000 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun Mar 18 22:39:42 2018 +0100 @@ -60,6 +60,7 @@ end function archive:_get_idx(username, id, dates) + module:log("debug", "Looking for item with id %q", id); dates = dates or self:dates(username) or empty; local date = id:sub(1, 10); for d = 1, #dates do