From 7bc41b1954312c14efe62a3bfc9b6c755d365456 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 16 Jul 2010 10:23:39 -0400 Subject: Move this block down, and fix the log name. It was in the wrong place and preventing IPsec logs from reaching remote servers. --- etc/inc/system.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') 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"; -- cgit v1.1