summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/filter_log.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-12-17 12:08:12 -0500
committerjim-p <jimp@pfsense.org>2015-12-17 12:09:04 -0500
commit41df62c1b6d32245442b59505e065370cd052b59 (patch)
treea838597db9f64af35e318dba58a0a0cf07e70022 /src/etc/inc/filter_log.inc
parent1d60756968841c76c43e843fb05107635e541726 (diff)
downloadpfsense-41df62c1b6d32245442b59505e065370cd052b59.zip
pfsense-41df62c1b6d32245442b59505e065370cd052b59.tar.gz
Nuke fifolog support. It was never used or fully implemented, no GUI option, and didn't end up working out.
It buffered writes too long, users could never see the most current log data.
Diffstat (limited to 'src/etc/inc/filter_log.inc')
-rw-r--r--src/etc/inc/filter_log.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/etc/inc/filter_log.inc b/src/etc/inc/filter_log.inc
index 7d00534..32ba9da 100644
--- a/src/etc/inc/filter_log.inc
+++ b/src/etc/inc/filter_log.inc
@@ -134,11 +134,7 @@ function conv_log_filter($logfile, $nentries, $tail = 50, $filtertext = "", $fil
# Get a bunch of log entries.
- if (isset($config['system']['usefifolog'])) {
- exec("/usr/sbin/fifolog_reader " . escapeshellarg($logfile) . " | /usr/bin/grep -E $pattern | /usr/bin/tail -r -n {$tail}", $logarr);
- } else {
- exec("/usr/local/sbin/clog " . escapeshellarg($logfile) . " | /usr/bin/grep -v \"CLOG\" | /usr/bin/grep -v \"\033\" | /usr/bin/grep -E $pattern | /usr/bin/tail -r -n {$tail}", $logarr);
- }
+ exec("/usr/local/sbin/clog " . escapeshellarg($logfile) . " | /usr/bin/grep -v \"CLOG\" | /usr/bin/grep -v \"\033\" | /usr/bin/grep -E $pattern | /usr/bin/tail -r -n {$tail}", $logarr);
# Remove escapes and fix up the pattern for preg_match.
OpenPOWER on IntegriCloud