From 2436d69540aca2d9d2546070ec01da35520506a0 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Sun, 25 Sep 2016 15:53:46 +0000 Subject: [PATCH] try to fix showing 2 timeslots in current tx --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 632f53c..77cbcbd 100644 --- a/include/functions.php +++ b/include/functions.php @@ -119,7 +119,7 @@ function getShortMMDVMLog() { // Open Logfile and copy loglines into LogLines-Array() $logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log"; //$logLines = explode("\n", `tail -n100 $logPath`); - $logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath | tail -4`); + $logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath | tail -100`); return $logLines; }