Workaround to fix #55

This commit is contained in:
CT2JAY 2017-03-07 12:43:28 +00:00
parent dffdab8165
commit 03242e07f1

View file

@ -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;
}