summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2022-09-12 10:29:40 +0200
committerSimon Rettberg2022-09-12 10:29:40 +0200
commit48f092d31da73e73831c59d88c8c73d7437591b1 (patch)
treefc3e4659b2d59a7f67579bcec4a404c27ab40e6d /modules-available/systemstatus/page.inc.php
parent[eventlog] Improve sample data displaying when editing a filter rule (diff)
downloadslx-admin-48f092d31da73e73831c59d88c8c73d7437591b1.tar.gz
slx-admin-48f092d31da73e73831c59d88c8c73d7437591b1.tar.xz
slx-admin-48f092d31da73e73831c59d88c8c73d7437591b1.zip
[systemstatus] Filter more irrelevant noise from lighttpd log
Diffstat (limited to 'modules-available/systemstatus/page.inc.php')
-rw-r--r--modules-available/systemstatus/page.inc.php4
1 files changed, 3 insertions, 1 deletions
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;
}
}