diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-03-15 21:17:07 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-03-15 21:17:07 -0400 |
commit | 40f7d05635388da7c1e5f757736036a3c8d28db5 (patch) | |
tree | f07991ca1c48c108a32931dd0ccda59b8c839f71 /etc/inc/system.inc | |
parent | 906f6b71b894a5e73505cde7d44745da0454b686 (diff) | |
download | pfsense-40f7d05635388da7c1e5f757736036a3c8d28db5.zip pfsense-40f7d05635388da7c1e5f757736036a3c8d28db5.tar.gz |
Use full path to fifolog_writer
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 9453b40..c8320aa 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -353,7 +353,7 @@ function system_syslogd_start() { $separatelogfacilities = $separatelogfacilities + $pkgfacilities; $facilitylist = implode(',', $pkgfacilities); mwexec("fifolog_create -s 10000 {$g['varlog_path']}/{$package['logging']['logfilename']}"); - $syslogconf .= "!{$facilitylist}\n*.*\t\t\t\t\t\t|fiflog_writer {$g['varlog_path']}/{$package['logging']['logfilename']}\n"; + $syslogconf .= "!{$facilitylist}\n*.*\t\t\t\t\t\t|/usr/sbin/fifolog_writer {$g['varlog_path']}/{$package['logging']['logfilename']}\n"; } } } @@ -367,14 +367,14 @@ function system_syslogd_start() { $syslogconf .= "!ntpdate,!ntpd\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= <<<EOD -*.* |fiflog_writer {$g['varlog_path']}/ntpd.log +*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/ntpd.log EOD; } $syslogconf .= "!racoon\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= <<<EOD -*.* |fiflog_writer {$g['varlog_path']}/ipsec.log +*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/ipsec.log EOD; } @@ -387,7 +387,7 @@ EOD; $syslogconf .= "!openvpn\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= <<<EOD -*.* |fiflog_writer {$g['varlog_path']}/openvpn.log +*.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/openvpn.log EOD; } @@ -400,16 +400,16 @@ EOD; $syslogconf .= "!-{$facilitylist}\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= <<<EOD -local0.* |fiflog_writer {$g['varlog_path']}/filter.log -local3.* |fiflog_writer {$g['varlog_path']}/vpn.log -local4.* |fiflog_writer {$g['varlog_path']}/portalauth.log -local7.* |fiflog_writer {$g['varlog_path']}/dhcpd.log -*.notice;kern.debug;lpr.info;mail.crit; |fiflog_writer {$g['varlog_path']}/system.log -news.err;local0.none;local3.none;local4.none; |fiflog_writer {$g['varlog_path']}/system.log -local7.none |fiflog_writer {$g['varlog_path']}/system.log -security.* |fiflog_writer {$g['varlog_path']}/system.log -auth.info;authpriv.info;daemon.info |fiflog_writer {$g['varlog_path']}/system.log -local1.* |fiflog_writer {$g['varlog_path']}/relayd.log +local0.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/filter.log +local3.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/vpn.log +local4.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/portalauth.log +local7.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/dhcpd.log +*.notice;kern.debug;lpr.info;mail.crit; |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log +news.err;local0.none;local3.none;local4.none; |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log +local7.none |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log +security.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log +auth.info;authpriv.info;daemon.info |/usr/sbin/fifolog_writer {$g['varlog_path']}/system.log +local1.* |/usr/sbin/fifolog_writer {$g['varlog_path']}/relayd.log auth.info;authpriv.info |exec /usr/local/sbin/sshlockout_pf *.emerg * |