catching end of transmissions when transmission lost
This commit is contained in:
parent
b0af1da0e2
commit
54717ea623
2 changed files with 2 additions and 2 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" $logPath | tail -4`);
|
$logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath | tail -4`);
|
||||||
return $logLines;
|
return $logLines;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20160918-1");
|
define("VERSION", "20160920-1");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue