/var/log/secure {
    # Append time and date to file
    dateext
    dateformat .%Y_%m_%d-%ss
    daily
    rotate 29
    missingok
    postrotate
    /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}
