summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-07-16 10:23:39 -0400
committerjim-p <jimp@pfsense.org>2010-07-16 10:23:39 -0400
commit7bc41b1954312c14efe62a3bfc9b6c755d365456 (patch)
tree9aecfe27b68502456b0726df8cab933e84ae0323 /etc
parent1f6f0076316417a10827c9771a65b324b62a9a56 (diff)
downloadpfsense-7bc41b1954312c14efe62a3bfc9b6c755d365456.zip
pfsense-7bc41b1954312c14efe62a3bfc9b6c755d365456.tar.gz
Move this block down, and fix the log name. It was in the wrong place and preventing IPsec logs from reaching remote servers.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 618a50d..41f3123 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -461,9 +461,6 @@ function system_syslogd_start() {
$syslogconf .= "!racoon\n";
if (!isset($syslogcfg['disablelocallogging']))
$syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/ipsec.log\n";
- $syslogconf .= "!apinger\n";
- if (!isset($syslogcfg['disablelocallogging']))
- $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/slbd.log\n";
if (isset($syslogcfg['vpn'])) {
if($syslogcfg['remoteserver'])
$syslogconf .= "*.* @{$syslogcfg['remoteserver']}\n";
@@ -483,6 +480,9 @@ function system_syslogd_start() {
if($syslogcfg['remoteserver3'])
$syslogconf .= "*.* @{$syslogcfg['remoteserver3']}\n";
}
+ $syslogconf .= "!apinger\n";
+ if (!isset($syslogcfg['disablelocallogging']))
+ $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/apinger.log\n";
$syslogconf .= "!relayd\n";
$syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/relayd.log\n";
$syslogconf .= "!-{$facilitylist}\n";
OpenPOWER on IntegriCloud