LDAP/BDB log purging