diff options
author | doktornotor <notordoktor@gmail.com> | 2016-12-06 16:09:08 +0100 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-12-06 17:44:14 -0200 |
commit | 36868398143f7595ed2e613128fbfdbfb2987531 (patch) | |
tree | 37108440816dfca1bb21ff86a4076e25ed67bb68 /src/etc | |
parent | 836c858f7a24825ed2fc84ac0e0d7ff8c0f3b397 (diff) | |
download | pfsense-36868398143f7595ed2e613128fbfdbfb2987531.zip pfsense-36868398143f7595ed2e613128fbfdbfb2987531.tar.gz |
Add BIND logging to proper facility (Bug #5524)
Stop the /etc/inc/system.inc patching by dns/pfSense-pkg-bind9 package.
(cherry picked from commit 957ec89e7959e966e87f83055f57936a945a6b00)
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index 1a3baa2..b094d9b 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -906,7 +906,7 @@ function system_syslogd_start() { $syslogd_extra = ""; if (isset($syslogcfg)) { - $separatelogfacilities = array('ntp', 'ntpd', 'ntpdate', 'charon', 'ipsec_starter', 'openvpn', 'poes', 'l2tps', 'relayd', 'hostapd', 'dnsmasq', 'filterdns', 'unbound', 'dhcpd', 'dhcrelay', 'dhclient', 'dhcp6c', 'dpinger', 'radvd', 'routed', 'olsrd', 'zebra', 'ospfd', 'bgpd', 'miniupnpd', 'filterlog'); + $separatelogfacilities = array('ntp', 'ntpd', 'ntpdate', 'charon', 'ipsec_starter', 'openvpn', 'poes', 'l2tps', 'relayd', 'hostapd', 'dnsmasq', 'named', 'filterdns', 'unbound', 'dhcpd', 'dhcrelay', 'dhclient', 'dhcp6c', 'dpinger', 'radvd', 'routed', 'olsrd', 'zebra', 'ospfd', 'bgpd', 'miniupnpd', 'filterlog'); $syslogconf = ""; if ($config['installedpackages']['package']) { foreach ($config['installedpackages']['package'] as $package) { @@ -984,7 +984,7 @@ function system_syslogd_start() { $syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*"); } - $syslogconf .= "!dnsmasq,filterdns,unbound\n"; + $syslogconf .= "!dnsmasq,named,filterdns,unbound\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/resolver.log\n"; } |