commit
f22bfa39e8
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ function getMMDVMLog() {
|
||||||
function getShortMMDVMLog() {
|
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", `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;
|
return $logLines;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue