summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-11-02 15:14:11 -0400
committerjim-p <jimp@pfsense.org>2010-11-02 15:14:11 -0400
commita6607b5fe0b480074b458480722326368f51c125 (patch)
treecbd4b24c8252c6edc2cd7c6cfc925f65e7387a13 /etc/inc/system.inc
parentf856e762704c09e8508ec237ad12b7ba3825aa0c (diff)
downloadpfsense-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.inc14
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";
OpenPOWER on IntegriCloud