Modify / etc / sysconfig / keepalived add the following
KEEPALIVED_OPTIONS="-D -d -S 0"
Modify /etc/rsyslog.conf add the following two lines
#keepalived
local0.* /var/log/keepalived.log
Restart it and log keepalive polling service
systemctl restart rsyslog
systemctl restart keepalived
Although it is possible to generate a log file recorded separately, but there was still about keepalive log generating / var / log / messages.