diff options
author | jim-p <jimp@pfsense.org> | 2010-11-02 15:14:11 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-11-02 15:14:11 -0400 |
commit | a6607b5fe0b480074b458480722326368f51c125 (patch) | |
tree | cbd4b24c8252c6edc2cd7c6cfc925f65e7387a13 /etc/inc/system.inc | |
parent | f856e762704c09e8508ec237ad12b7ba3825aa0c (diff) | |
download | pfsense-a6607b5fe0b480074b458480722326368f51c125.zip pfsense-a6607b5fe0b480074b458480722326368f51c125.tar.gz |
More VPN log fixes, for consistency. Ticket #912
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index ba9ad05..23e9b64 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -443,7 +443,7 @@ function system_syslogd_start() { } if (isset($syslogcfg)) { - $separatelogfacilities = array('ntpd','racoon','openvpn'); + $separatelogfacilities = array('ntpd','racoon','openvpn','pptps','poes','l2tps'); if($config['installedpackages']['package']) { foreach($config['installedpackages']['package'] as $package) { if($package['logging']) { @@ -468,15 +468,15 @@ function system_syslogd_start() { $syslogconf .= "!ppp\n"; if (!isset($syslogcfg['disablelocallogging'])) $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/ppp.log\n"; - $syslogconf .= "!pptp\n"; + $syslogconf .= "!pptps\n"; if (!isset($syslogcfg['disablelocallogging'])) - $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/pptp.log\n"; - $syslogconf .= "!pppoe\n"; + $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/pptps.log\n"; + $syslogconf .= "!poes\n"; if (!isset($syslogcfg['disablelocallogging'])) - $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/pppoe.log\n"; - $syslogconf .= "!l2tp\n"; + $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/poes.log\n"; + $syslogconf .= "!l2tps\n"; if (!isset($syslogcfg['disablelocallogging'])) - $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/l2tp.log\n"; + $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/l2tps.log\n"; $syslogconf .= "!racoon\n"; if (!isset($syslogcfg['disablelocallogging'])) $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/ipsec.log\n"; |