summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter_log.inc4
-rw-r--r--etc/inc/system.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc
index 31aa76b..ded2f3f 100644
--- a/etc/inc/filter_log.inc
+++ b/etc/inc/filter_log.inc
@@ -30,7 +30,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
- pfSense_BUILDER_BINARIES: /usr/sbin/fifolog_reader /usr/bin/tail /usr/sbin/clog
+ pfSense_BUILDER_BINARIES: /usr/sbin/fifolog_reader /usr/bin/tail /usr/local/sbin/clog
pfSense_MODULE: filter
*/
@@ -53,7 +53,7 @@ function conv_log_filter($logfile, $nentries, $tail = 50, $filtertext = "", $fil
if(isset($config['system']['usefifolog']))
exec("/usr/sbin/fifolog_reader " . escapeshellarg($logfile) . " | /usr/bin/grep 'filterlog:' | /usr/bin/tail -r -n {$tail}", $logarr);
else
- exec("/usr/sbin/clog " . escapeshellarg($logfile) . " | grep -v \"CLOG\" | grep -v \"\033\" | /usr/bin/grep 'filterlog:' | /usr/bin/tail -r -n {$tail}", $logarr);
+ exec("/usr/local/sbin/clog " . escapeshellarg($logfile) . " | grep -v \"CLOG\" | grep -v \"\033\" | /usr/bin/grep 'filterlog:' | /usr/bin/tail -r -n {$tail}", $logarr);
$filterlog = array();
$counter = 0;
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 6ba31cf..05c63d4 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -643,7 +643,7 @@ function system_syslogd_start() {
} else { // Defaults to CLOG
$log_directive = "%";
$log_size = isset($config['syslog']['logfilesize']) ? $config['syslog']['logfilesize'] : "10240";
- $log_create_directive = "/usr/sbin/clog -i -s ";
+ $log_create_directive = "/usr/local/sbin/clog -i -s ";
}
if (isset($syslogcfg)) {
OpenPOWER on IntegriCloud