So I use sshguard, and it is very chatty, and it is clogging up my main syslog (/var/log/messages). I would like it if it would instead log all of its messages to /var/log/daemon.log, like dhcpd does with its DHCPREQUEST/DHCPACK messages. SSHguard doesn't seem to have any obvious way to control its own logging, so I thought maybe I could control it on the syslogd end.
I added the following lines to /var/log/syslog.conf:
And it is sending the messages to /var/log/daemon.log like I asked. The problem is that it is also still sending the messages to /var/log/messages! How do I get that to stop? Or is there a better way to do this that doesn't involve syslogd?
I added the following lines to /var/log/syslog.conf:
Code:
!sshguard
*.* /var/log/daemon.log