fixing error in txinfo with local transmissions \(stopped counting before end of tx\)
This commit is contained in:
parent
66fabe6672
commit
e3fac1dffd
2 changed files with 3 additions and 2 deletions
|
@ -118,7 +118,8 @@ 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", `tail -n100 $logPath`);
|
//$logLines = explode("\n", `tail -n100 $logPath`);
|
||||||
|
$logLines = explode("\n", `egrep -h "from|end|watchdog" $logPath | tail -4`);
|
||||||
return $logLines;
|
return $logLines;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20160916-2");
|
define("VERSION", "20160916-3");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue