keepalivedのログを設定する

/etc/sysconfig/keepalived

KEEPALIVED_OPTIONS="-D -S 1"
 → -S 1を追記 local1.*でシスログに出力

/etc/syslog.conf

*.info;mail.none;authpriv.none;cron.none;local5.none;local1.none; /var/log/messages
 →変更

#keepalived
local1.*                                                /var/log/keepalived.log
 →追加

/etc/logrotate.d/syslog

/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron /var/log/pound.log /var/log/keepalived.log {
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
        /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}