diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-09-08 18:32:39 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-09-08 18:32:39 +0000 |
commit | c7bee6c40ec99f20b2d846358673c0b0dfddf26c (patch) | |
tree | 6d405b0819db62315385825b91256c12de69aa34 | |
parent | 1ffa8dd1bfef01de170088bc3107df0eab1efc2e (diff) | |
download | acf-weblog-c7bee6c40ec99f20b2d846358673c0b0dfddf26c.tar.bz2 acf-weblog-c7bee6c40ec99f20b2d846358673c0b0dfddf26c.tar.xz |
No reason for two reasons
-rw-r--r-- | weblog-controller.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |