From 03242e07f1c61e9a210d57f106304d15a32453e8 Mon Sep 17 00:00:00 2001 From: CT2JAY Date: Tue, 7 Mar 2017 12:43:28 +0000 Subject: [PATCH] Workaround to fix #55 --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index a3fd912..374bf1c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -196,7 +196,7 @@ function getMMDVMLog() { function getShortMMDVMLog() { // Open Logfile and copy loglines into LogLines-Array() $logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log"; - $logLines = explode("\n", `egrep -h "from|end|watchdog|lost|Alias|0000" $logPath | tail -20`); + $logLines = explode("\n", `egrep -v "data header" -h "from|end|watchdog|lost|Alias|0000" $logPath | tail -20`); return $logLines; }