Merge pull request #103 from pjao/master

Workaround to fix #55
This commit is contained in:
Kim - DG9VH 2017-03-07 14:13:34 +01:00 committed by GitHub
commit f22bfa39e8

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