Description
When debugging issues with group search it can be hard to understand why
groups are not being found because the specific LDAP search filters used
i.e. The filter templates with placeholders filled are not logged.
This adds extra debug logging so when log level is DEBUG the exact LDAP
search filter to be used will be logged. Users can then test this
filter directly against their LDAP server to determine why it is
incorrect and then adjust their configuration appropriately.