Fixes: #5199 - Change default logging for LDAP to INFO

This commit is contained in:
Daniel Sheppard 2020-10-01 09:27:17 -05:00
parent 23a9cb2fad
commit f2bc824a8e

View File

@ -176,5 +176,5 @@ class LDAPBackend:
ldap_logger = logging.getLogger('django_auth_ldap')
ldap_logger.addHandler(logging.StreamHandler())
ldap_logger.setLevel(logging.INFO if settings.DEBUG is False else logging.DEBUG)
ldap_logger.info('Set Logging')
return obj