changeset 1730:e02af2b32f30

mod_storage_xmlarchive: Increase severity of log message regarding unexpected missing items
author Kim Alvefur <zash@zash.se>
date Mon, 11 May 2015 14:29:58 +0200
parents 3431c4a4d162
children b912cb8e0b3c
files mod_storage_xmlarchive/mod_storage_xmlarchive.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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