more logging for ldap process