summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-07-28 09:57:43 -0400
committerjim-p <jimp@pfsense.org>2016-07-28 09:58:42 -0400
commit363c7d41ead529220b5d33931ea87c685610a3ba (patch)
treeb8aa180ad60f184df4711529fa740389f9fdf83e /src
parentf26a81c97b3e3f82a8dde6c8f80e52210b76c16b (diff)
downloadpfsense-363c7d41ead529220b5d33931ea87c685610a3ba.zip
pfsense-363c7d41ead529220b5d33931ea87c685610a3ba.tar.gz
Increase filtering tail limit for logging, fixes #6652
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/filter_log.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/filter_log.inc b/src/etc/inc/filter_log.inc
index d8e1684..8690ee0 100644
--- a/src/etc/inc/filter_log.inc
+++ b/src/etc/inc/filter_log.inc
@@ -34,8 +34,9 @@ function conv_log_filter($logfile, $nentries, $tail = 50, $filtertext = "", $fil
return;
}
+ /* Safety belt to ensure we get enough lines for filtering without overloading the parsing code */
if ($filtertext) {
- $tail = 5000;
+ $tail = 10000;
}
/* Always do a reverse tail, to be sure we're grabbing the 'end' of the log. */
OpenPOWER on IntegriCloud