Move dhcp6c log to dhcpd.log, it fixes #3799

This commit is contained in:
Renato Botelho 2014-08-11 16:01:43 -03:00
parent a3331d720c
commit 4a3495b3bd

View File

@ -582,7 +582,7 @@ function system_syslogd_start() {
}
if (isset($syslogcfg)) {
$separatelogfacilities = array('ntp','ntpd','ntpdate','racoon','openvpn','pptps','poes','l2tps','relayd','hostapd','dnsmasq','filterdns','unbound','dhcpd','dhcrelay','dhclient','apinger','radvd','routed','olsrd','zebra','ospfd','bgpd','miniupnpd');
$separatelogfacilities = array('ntp','ntpd','ntpdate','racoon','openvpn','pptps','poes','l2tps','relayd','hostapd','dnsmasq','filterdns','unbound','dhcpd','dhcrelay','dhclient','dhcp6c','apinger','radvd','routed','olsrd','zebra','ospfd','bgpd','miniupnpd');
$syslogconf = "";
if($config['installedpackages']['package']) {
foreach($config['installedpackages']['package'] as $package) {
@ -640,7 +640,7 @@ function system_syslogd_start() {
if (!isset($syslogcfg['disablelocallogging']))
$syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/resolver.log\n";
$syslogconf .= "!dhcpd,dhcrelay,dhclient\n";
$syslogconf .= "!dhcpd,dhcrelay,dhclient,dhcp6c\n";
if (!isset($syslogcfg['disablelocallogging']))
$syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/dhcpd.log\n";
if (isset($syslogcfg['dhcp']))