hope to solve problems with YSFReflector State

This commit is contained in:
dg9vh 2017-03-22 20:42:58 +00:00
parent 5980a44189
commit ab03016c7e

View file

@ -209,7 +209,7 @@ 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 "Starting|DISCONNECT|Connect|Automatic" $logPath`);
$logLines = explode("\n", `egrep -h "Starting|DISCONNECT|Connect|Automatic|Disconnecting" $logPath`);
return $logLines;
}