summaryrefslogtreecommitdiffstats
path: root/clamav-logfile-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-09 11:54:00 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-09 11:54:00 +0000
commitd7af70635c2c5d11061c60b7148ce11c2aecc318 (patch)
treec70ff9b338a98261dfa8e6284a150addc6dc931c /clamav-logfile-html.lsp
parentacf99a993a7ab9e893c0e7f34adefa44d1ef8695 (diff)
downloadacf-clamav-d7af70635c2c5d11061c60b7148ce11c2aecc318.tar.bz2
acf-clamav-d7af70635c2c5d11061c60b7148ce11c2aecc318.tar.xz
Look in config files to find logfile paths. Bumped to 0.2.2v0.2.2
Diffstat (limited to 'clamav-logfile-html.lsp')
-rw-r--r--clamav-logfile-html.lsp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clamav-logfile-html.lsp b/clamav-logfile-html.lsp
index a2ef389..fbe7221 100644
--- a/clamav-logfile-html.lsp
+++ b/clamav-logfile-html.lsp
@@ -3,5 +3,7 @@ require("viewfunctions")
%>
<% if viewlibrary and viewlibrary.dispatch_component then
- viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {name="/var/log/messages", grep="clamav"})
+ for i,logfile in ipairs(data.value) do
+ viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {name=logfile.path, grep=logfile.grep})
+ end
end %>