/var/log/haproxy.log {
    rotate 5
    missingok
    notifempty
    maxsize 10M
    postrotate
      /bin/kill -HUP `cat /var/run/rsyslog.pid 2> /dev/null` 2> /dev/null || true
    endscript
}
