diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-09-11 09:53:36 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-09-11 10:25:06 +0000 |
commit | f441ab6809cdf358c321144bb74da1f550136b17 (patch) | |
tree | be94dca72319b518f4463615cb36766ffea1c3c5 | |
parent | 8b1f77beab7106569f555d558deca217794343c6 (diff) | |
download | pfsense-f441ab6809cdf358c321144bb74da1f550136b17.zip pfsense-f441ab6809cdf358c321144bb74da1f550136b17.tar.gz |
Properly send mpd logs to vpn.log. Filtering needs to be done in the file itself. Some trimming of what gets logged in the daemon itself needs to be done but that to a future review. This should partially fix Feature #73.
-rw-r--r-- | etc/inc/system.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 82ab8af..53efbb8 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -437,7 +437,8 @@ function system_syslogd_start() { if (!isset($syslogcfg['disablelocallogging'])) $syslogconf .= <<<EOD local0.* {$log_directive}{$g['varlog_path']}/filter.log -local3.* {$log_directive}{$g['varlog_path']}/vpn.log +!mpd +*.* {$log_directive}{$g['varlog_path']}/vpn.log local4.* {$log_directive}{$g['varlog_path']}/portalauth.log local7.* {$log_directive}{$g['varlog_path']}/dhcpd.log *.notice;kern.debug;lpr.info;mail.crit; {$log_directive}{$g['varlog_path']}/system.log @@ -1277,4 +1278,4 @@ function enable_watchdog() { } } -?>
\ No newline at end of file +?> |