diff --git a/include/functions.php b/include/functions.php index e1c10c3..a5d9682 100644 --- a/include/functions.php +++ b/include/functions.php @@ -115,7 +115,8 @@ 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", `grep M: $logPath`); + //$logLines = explode("\n", `grep M: $logPath`); + $logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath`); return $logLines; } @@ -129,7 +130,8 @@ function getShortMMDVMLog() { function getYSFGatewayLog() { // Open Logfile and copy loglines into LogLines-Array() $logPath = YSFGATEWAYLOGPATH."/".YSFGATEWAYLOGPREFIX."-".date("Y-m-d").".log"; - $logLines = explode("\n", `egrep -h "D:|M:" $logPath`); + //$logLines = explode("\n", `egrep -h "D:|M:" $logPath`); + $logLines = explode("\n", `egrep -h "Starting|DISCONNECT|Connect|Automatic" $logPath`); return $logLines; } diff --git a/version.php b/version.php index 8b0cd94..424de07 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@