try to fix showing 2 timeslots in current tx

This commit is contained in:
dg9vh 2016-09-25 15:53:46 +00:00
parent 36ec405a78
commit 2436d69540

View file

@ -119,7 +119,7 @@ function getShortMMDVMLog() {
// Open Logfile and copy loglines into LogLines-Array()
$logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log";
//$logLines = explode("\n", `tail -n100 $logPath`);
$logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath | tail -4`);
$logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath | tail -100`);
return $logLines;
}