From 48f092d31da73e73831c59d88c8c73d7437591b1 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 12 Sep 2022 10:29:40 +0200 Subject: [systemstatus] Filter more irrelevant noise from lighttpd log --- modules-available/systemstatus/page.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules-available/systemstatus') diff --git a/modules-available/systemstatus/page.inc.php b/modules-available/systemstatus/page.inc.php index ca57de47..cf2a4fe0 100644 --- a/modules-available/systemstatus/page.inc.php +++ b/modules-available/systemstatus/page.inc.php @@ -320,7 +320,9 @@ class Page_SystemStatus extends Page } while (($line = fgets($fh, 1000))) { if (strpos($line, ':SSL routines:') === false - && strpos($line, ' SSL: -1 5 104 Connection reset by peer') === false) { + && strpos($line, ' SSL: -1 5 104 Connection reset by peer') === false + && strpos($line, 'GET/HEAD with content-length') === false + && strpos($line, 'POST-request, but content-length missing') === false) { $ret[] = $line; } } -- cgit v1.2.3-55-g7522