I'd like to redirect all messages from dhcpd to their own log file, rather than having them appear in /var/log/messages
.
Here is the configuration on /etc/syslog.conf
:
!dhcpd
*.* /var/log/dhcpd.log
The messages are redirected to dhcpd.log
, but they're also going to /var/log/messages
.
What's the configuration to exclude them from /var/log/messages
?
`!-prog' specification will match any message but the ones from that program: