summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-09-11 09:53:36 +0000
committerErmal Luçi <eri@pfsense.org>2009-09-11 10:25:06 +0000
commitf441ab6809cdf358c321144bb74da1f550136b17 (patch)
treebe94dca72319b518f4463615cb36766ffea1c3c5 /etc/inc
parent8b1f77beab7106569f555d558deca217794343c6 (diff)
downloadpfsense-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.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/system.inc5
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
+?>
OpenPOWER on IntegriCloud