From fb762cd712e12e5fb2d7e1a3034aa10e09f0e952 Mon Sep 17 00:00:00 2001 From: Mathieu Kerjouan Date: Wed, 30 Sep 2020 14:01:36 +0000 Subject: [PATCH] Update authentication.py Modifying the default logging level to `INFO`. --- netbox/netbox/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/netbox/authentication.py b/netbox/netbox/authentication.py index 6057fc08e..6328c40d7 100644 --- a/netbox/netbox/authentication.py +++ b/netbox/netbox/authentication.py @@ -175,6 +175,6 @@ class LDAPBackend: # Enable logging for django_auth_ldap ldap_logger = logging.getLogger('django_auth_ldap') ldap_logger.addHandler(logging.StreamHandler()) - ldap_logger.setLevel(logging.DEBUG) + ldap_logger.setLevel(logging.INFO) return obj