diff options
author | jim-p <jimp@pfsense.org> | 2016-07-28 09:57:43 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-07-28 09:58:46 -0400 |
commit | b7e1b32374777151402065562e5422d40a0552be (patch) | |
tree | d8566aee069481d4f7548402a2ce2d6fd3c2a4d0 /src/etc | |
parent | 6eb2dbe091111ef53c0cfa37d61eae2ca0863ad4 (diff) | |
download | pfsense-b7e1b32374777151402065562e5422d40a0552be.zip pfsense-b7e1b32374777151402065562e5422d40a0552be.tar.gz |
Increase filtering tail limit for logging, fixes #6652
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/filter_log.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/filter_log.inc b/src/etc/inc/filter_log.inc index a89f2fb..1208711 100644 --- a/src/etc/inc/filter_log.inc +++ b/src/etc/inc/filter_log.inc @@ -66,8 +66,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. */ |