diff options
author | Ermal <eri@pfsense.org> | 2010-03-23 22:13:01 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-23 22:13:21 +0000 |
commit | 328efaba8493e83dad27c29408fa1feded4710e3 (patch) | |
tree | e95f307fdc5878fb0c34388c340f10cc73048e8d /etc/inc/system.inc | |
parent | f2087c855f3d41c8faee5160404b51b3b06099c7 (diff) | |
download | pfsense-328efaba8493e83dad27c29408fa1feded4710e3.zip pfsense-328efaba8493e83dad27c29408fa1feded4710e3.tar.gz |
Use the -s ident option of mpd to send the logs for the PPPoE/PPTP/L2TP servers to syslogs appropriate files. Create the files for these vpn's as for the others. Logs can be viewed in the VPN tab of the system log.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 89ad72e..73e241c 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -451,6 +451,15 @@ function system_syslogd_start() { $syslogconf .= "!ppp\n"; if (!isset($syslogcfg['disablelocallogging'])) $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/ppp.log\n"; + $syslogconf .= "!pptp\n"; + if (!isset($syslogcfg['disablelocallogging'])) + $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/pptp.log\n"; + $syslogconf .= "!pppoe\n"; + if (!isset($syslogcfg['disablelocallogging'])) + $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/pppoe.log\n"; + $syslogconf .= "!l2tp\n"; + if (!isset($syslogcfg['disablelocallogging'])) + $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/l2pp.log\n"; $syslogconf .= "!racoon\n"; if (!isset($syslogcfg['disablelocallogging'])) $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/ipsec.log\n"; |