/var/log/ldap/ldap.log {
    missingok
    notifempty
    compress
    daily
    rotate 10
    size=10M
    sharedscripts
    postrotate
        /bin/systemctl reload rsyslog.service > /dev/null 2>&1 || true
    endscript
}
