Tuesday, January 24, 2023

syslogd program logging

My isc_dhcpd logs are kind of chatty, and I'd like to send them to their
own log. I tried appending the following to syslogd.conf:

!dhcpd
*.* /var/log/dhcpd

This works, but the dhcpd messages still appear in /var/log/daemon as well.

Is there a way to do this where syslogd will send logs from a specific
program _only_ to the specified log file? (Other than directly
configuring a log file in isc_dhcpd.)

Thanks.

No comments:

Post a Comment