mod_storage_xmlarchive: Increase severity of log message regarding unexpected missing items
authorKim Alvefur <zash@zash.se>
Mon, 11 May 2015 14:29:58 +0200
changeset 1734 e02af2b32f30
parent 1733 3431c4a4d162
child 1735 b912cb8e0b3c
mod_storage_xmlarchive: Increase severity of log message regarding unexpected missing items
mod_storage_xmlarchive/mod_storage_xmlarchive.lua
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Mon May 11 14:29:18 2015 +0200
+++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Mon May 11 14:29:58 2015 +0200
@@ -130,7 +130,7 @@
 			for i = first_item, last_item, step do
 				local item = items[i];
 				if not item then
-					module:log("debug", "data[%q][%d] is nil", dates[d], i);
+					module:log("warn", "data[%q][%d] is nil", dates[d], i);
 					break;
 				end
 				if xmlfile and in_range