Thursday, December 30, 2021

howto separate isakmpd syslogs into another file

Hello,

I'm trying to separate isakmpd/ipsec logs to another file instead of /var/log/messages.
Here my config at the top of /etc/syslog.conf
!!isakmpd
daemon.info /var/log/ipsec_info.log
daemon.debug /var/log/ipsec_debug.log
!*

I restarted syslogd & isakmpd but nothing changed. It still logs to /var/log/messages.
How can i achieve this?

Thanks in advance.

No comments:

Post a Comment