mod_storage_xmlarchive: Add a debug message to try to track down why all indicies are read in some cases
--- 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