Commit 6514a161 authored by Franco Fichtner's avatar Franco Fichtner

logs: ignores ppp in system log

parent 311a9bfd
......@@ -776,8 +776,36 @@ function system_syslogd_start()
$syslogd_extra = '';
if (isset($syslogcfg)) {
$separatelogfacilities = array('ntp','ntpd','ntpdate','charon','openvpn','pptps','poes','l2tps','relayd','hostapd','dnsmasq','filterdns','unbound','dhcpd','dhcrelay','dhclient','dhcp6c','apinger','radvd','routed','olsrd','zebra','ospfd','bgpd','miniupnpd','filterlog');
$syslogconf = "";
$separatelogfacilities = array(
'apinger',
'bgpd',
'charon',
'dhclient',
'dhcp6c',
'dhcpd',
'dhcrelay',
'dnsmasq',
'filterdns',
'filterlog',
'hostapd',
'l2tps',
'miniupnpd',
'ntp',
'ntpd',
'ntpdate',
'olsrd',
'openvpn',
'ospfd',
'poes',
'ppp',
'pptps',
'radvd',
'relayd',
'routed',
'unbound',
'zebra',
);
$syslogconf = '';
$facilitylist = implode(',', array_unique($separatelogfacilities));
$syslogconf .= "!radvd,routed,olsrd,zebra,ospfd,bgpd,miniupnpd\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment