catch-all entry in syslog.conf is a bit unhelpful

Yuri Pankov yuripv at
Sat Apr 17 17:08:59 UTC 2021

I understand it's been quite some time since it was added, but I have
been bitten by it just now.  I am adding per-daemon .conf files for
ports in /usr/local/etc/syslog.d/ and noticed that none of them were

An example entry is:

$ cat /usr/local/etc/syslog.d/dhcpd.conf
*.*     /var/log/dhcpd.log

Then I noticed the entry in /etc/syslog.conf and had to
workaround it like below:

!-dhcpd                                     /var/log/daemon.log

Given the above, I'm wondering if we could move the entry to
the bottom *after* we read the include dirs, so it would only select
everything that is not handled already?

More information about the freebsd-current mailing list