summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-05-08 12:46:02 -0400
committerjim-p <jimp@pfsense.org>2013-05-08 12:54:43 -0400
commita89b73428aa5a552c95bb8b908823d2dd4a92922 (patch)
tree6dde00f1d7f538f77aa1afc8cabf87a9de26bd5a /etc/inc/system.inc
parent705950edbc09270fccbec0c5d8dd99b004704c6e (diff)
downloadpfsense-a89b73428aa5a552c95bb8b908823d2dd4a92922.zip
pfsense-a89b73428aa5a552c95bb8b908823d2dd4a92922.tar.gz
Send filterdns logs to the resolver log.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 173a2a2..468c4db 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -569,7 +569,7 @@ function system_syslogd_start() {
}
if (isset($syslogcfg)) {
- $separatelogfacilities = array('ntp','ntpd','ntpdate','racoon','openvpn','pptps','poes','l2tps','relayd','hostapd','dnsmasq','unbound','dhcpd','dhcrelay','apinger','radvd','routed','olsrd','zebra','ospfd','bgpd');
+ $separatelogfacilities = array('ntp','ntpd','ntpdate','racoon','openvpn','pptps','poes','l2tps','relayd','hostapd','dnsmasq','filterdns','unbound','dhcpd','dhcrelay','apinger','radvd','routed','olsrd','zebra','ospfd','bgpd');
$syslogconf = "";
if($config['installedpackages']['package']) {
foreach($config['installedpackages']['package'] as $package) {
@@ -623,7 +623,7 @@ function system_syslogd_start() {
if (isset($syslogcfg['apinger']))
$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
- $syslogconf .= "!dnsmasq,unbound\n";
+ $syslogconf .= "!dnsmasq,filterdns,unbound\n";
if (!isset($syslogcfg['disablelocallogging']))
$syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/resolver.log\n";
if (isset($syslogcfg['apinger']))
OpenPOWER on IntegriCloud