* Re: [PATCH 1/2] WUI log-section Mail: bugfix for dmi
[not found] <20190831185300.20508-1-ipfire@starkstromkonsument.de>
@ 2019-09-01 12:31 ` Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2019-09-01 12:31 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]
That change looks good to me!
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
> On 31 Aug 2019, at 19:52, Alex Koch <ipfire(a)starkstromkonsument.de> wrote:
>
> The prefix for dmi in /var/log/mail seems to have changed from "dmi[<PID>]: " to "dmi: ". This results in a bug where no lines are being shown at all in the WUI.
>
> Signed-off-by: Alex Koch <ipfire(a)starkstromkonsument.de>
> ---
> html/cgi-bin/logs.cgi/log.dat | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat
> index 061525382..98b09041a 100644
> --- a/html/cgi-bin/logs.cgi/log.dat
> +++ b/html/cgi-bin/logs.cgi/log.dat
> @@ -57,7 +57,7 @@ my %sections = (
> 'cron' => '(fcron\[.*\]: )',
> 'ddns' => '(ddns\[\d+\]:)',
> 'dhcp' => '(dhcpd: )',
> - 'dma' => '(dma\[.*\]: )',
> + 'dma' => '(dma: |dma\[.*\]: )',
> 'guardian' => '(guardian\[.*\]: )',
> 'ipfire' => '(ipfire: )',
> 'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )',
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] only message in thread