From d7af70635c2c5d11061c60b7148ce11c2aecc318 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Dec 2009 11:54:00 +0000 Subject: Look in config files to find logfile paths. Bumped to 0.2.2 --- clamav-logfile-html.lsp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clamav-logfile-html.lsp') 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 %> -- cgit v1.2.3