fixing Talker-Alias problem

This commit is contained in:
Kim Hübel 2020-06-05 19:08:51 +01:00
parent 7322b3992d
commit f34c582f80
2 changed files with 2 additions and 4 deletions

View file

@ -229,7 +229,6 @@ function showMode($mode, $mmdvmconfigs) {
function getMMDVMLog() {
// Open Logfile and copy loglines into LogLines-Array()
$logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log";
// $logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath`);
$logLines = explode("\n", `egrep -h "end|watchdog|lost" $logPath`);
return $logLines;
}
@ -237,8 +236,7 @@ function getMMDVMLog() {
function getShortMMDVMLog() {
// Open Logfile and copy loglines into LogLines-Array()
$logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log";
//$logLines = explode("\n", `egrep -h "from|end|watchdog|lost|Alias|0000" $logPath | grep -v "data header" | tail -20`);
$logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath | sed '/\(CSBK\|overflow\|Downlink\)/d' | tail -20`);
$logLines = explode("\n", `egrep -h "from|end|watchdog|lost|Alias|0000" $logPath | grep -v "data header" | tail -20`);
return $logLines;
}

View file

@ -1,3 +1,3 @@
<?php
define("VERSION", "20200602-1 (".getGitVersion().")");
define("VERSION", "20200605-1 (".getGitVersion().")");
?>