From c7bee6c40ec99f20b2d846358673c0b0dfddf26c Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 8 Sep 2011 18:32:39 +0000 Subject: No reason for two reasons --- weblog-controller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'weblog-controller.lua') diff --git a/weblog-controller.lua b/weblog-controller.lua index 20b3134..6e5d469 100644 --- a/weblog-controller.lua +++ b/weblog-controller.lua @@ -57,10 +57,10 @@ function downloadweblog(self) self.conf.viewtype = "stream" local retval = viewweblog(self) local file = cfe({ type="longtext", value="", label="Weblog-"..os.date()..".tab" }) - local content = {"sourcename\tclientuserid\tclientip\tlogdatetime\turi\tbytes\treason\tscore\treason\tbadyesno\tdeniedyesno\tbypassyesno"} + local content = {"sourcename\tclientuserid\tclientip\tlogdatetime\turi\tbytes\treason\tscore\tshortreason\tbadyesno\tdeniedyesno\tbypassyesno"} for i,log in ipairs(retval.value.log.value) do content[#content+1] = string.format("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s", - log.sourcename, log.clientuserid, log.clientip, log.logdatetime, log.uri, log.bytes, log.reason, log.score, log.reason, log.badyesno, log.deniedyesno, log.bypassyesno) + log.sourcename, log.clientuserid, log.clientip, log.logdatetime, log.uri, log.bytes, log.reason, log.score, log.shortreason, log.badyesno, log.deniedyesno, log.bypassyesno) end file.value = table.concat(content, "\n") return file -- cgit v1.2.3