try to fix showing 2 timeslots in current tx
This commit is contained in:
parent
36ec405a78
commit
2436d69540
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ function getShortMMDVMLog() {
|
||||||
// Open Logfile and copy loglines into LogLines-Array()
|
// Open Logfile and copy loglines into LogLines-Array()
|
||||||
$logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log";
|
$logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log";
|
||||||
//$logLines = explode("\n", `tail -n100 $logPath`);
|
//$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;
|
return $logLines;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue