interfaces: push dhclient and dhcp6c to system log

Easier to see what's going on, both trigger most system reconfigure
events anyway.

PR: https://github.com/opnsense/core/issues/3197
Discussed with: @adschellevis
This commit is contained in:
Franco Fichtner 2019-02-07 18:17:20 +01:00
parent 7aab4a99d3
commit 2e314c016e

View File

@ -683,7 +683,7 @@ function system_syslogd_start($verbose = false, $restart = false)
* the key as a "name" entry in the array...
*/
$syslogconfs['configd'] = array('facility' => array('configd.py'));
$syslogconfs['dhcpd'] = array('facility' => array('dhcpd', 'dhcrelay', 'dhclient', 'dhcp6c'), 'local' => '/var/dhcpd/var/run/log', 'remote' => 'dhcp');
$syslogconfs['dhcpd'] = array('facility' => array('dhcpd', 'dhcrelay'), 'local' => '/var/dhcpd/var/run/log', 'remote' => 'dhcp');
$syslogconfs['filter'] = array('facility' => array('filterlog'), 'remote' => 'filter');
$syslogconfs['gateways'] = array('facility' => array('dpinger'), 'remote' => 'apinger');
$syslogconfs['lighttpd'] = array('facility' => array('lighttpd'));