Logging of ldap search