summaryrefslogtreecommitdiffstats
path: root/dovecot-logfile-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dovecot-logfile-html.lsp')
-rw-r--r--dovecot-logfile-html.lsp4
1 files changed, 3 insertions, 1 deletions
diff --git a/dovecot-logfile-html.lsp b/dovecot-logfile-html.lsp
index 53a76ce..d718396 100644
--- a/dovecot-logfile-html.lsp
+++ b/dovecot-logfile-html.lsp
@@ -2,5 +2,7 @@
%>
<% if viewlibrary and viewlibrary.dispatch_component then
- viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {filename="/var/log/messages", grep="dovecot"})
+ for i,logfile in ipairs(data.value) do
+ viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {filename=logfile.path, grep=logfile.grep})
+ end
end %>