]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - html/cgi-bin/logs.cgi/log.dat
log.dat: Fix an error with 'monit' logging too much data.
Making the regex "non-greedy" fixes an error Jon found.
'monit' logged a whole line from '/var/log/messages' where it should only log the first part.
Reference:
https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/non-greedy-perl-regex.html
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>