Add switch for LDAP cache debug output

The LDAP cache log is rather chatty and a bit overwhelming when
looking for error messages. Disable it by default but allow it
to be enabled when a new config option, ldap_cache_debug, is
enabled.

Fixes: https://pagure.io/freeipa/issue/9180

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Rob Crittenden
2022-06-13 14:32:04 -04:00
committed by Alexander Bokovoy
parent 7572174175
commit 05d96e16dc
4 changed files with 10 additions and 2 deletions

View File

@@ -170,6 +170,7 @@ DEFAULT_CONFIG = (
('ldap_cache', True),
('ldap_cache_size', 100),
('ldap_cache_debug', False),
# Define an inclusive range of SSL/TLS version support
('tls_version_min', TLS_VERSION_DEFAULT_MIN),