Date: Sat, 17 Apr 2021 20:23:44 +0300 From: Yuri Pankov <yuripv@ftml.net> To: current@freebsd.org Subject: Re: catch-all daemon.info entry in syslog.conf is a bit unhelpful Message-ID: <be5049a0-6790-e702-9cad-ddd8abf17dc2@ftml.net> In-Reply-To: <81b5950a-4d77-1bb6-73f1-6aa5264dfa22@ftml.net> References: <81b5950a-4d77-1bb6-73f1-6aa5264dfa22@ftml.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Yuri Pankov wrote: > 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 > working. > > An example entry is: > > $ cat /usr/local/etc/syslog.d/dhcpd.conf > !dhcpd > *.* /var/log/dhcpd.log > > Then I noticed the daemon.info entry in /etc/syslog.conf and had to > workaround it like below: > > !-dhcpd > daemon.info /var/log/daemon.log > !+dhcpd > > Given the above, I'm wondering if we could move the daemon.info entry to > the bottom *after* we read the include dirs, so it would only select > everything that is not handled already? Or, better yet, ignore this; I'm not sure what exactly I was doing wrong, but after I sent the mail it all started working as it should (happens all the time for me), sorry for the noise.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be5049a0-6790-e702-9cad-ddd8abf17dc2>