diff options
Diffstat (limited to 'clamav-logfile-html.lsp')
-rw-r--r-- | clamav-logfile-html.lsp | 4 |
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 %> |