Commit 8e071518 authored by PCoder's avatar PCoder

Add ldap3 specific logging

parent c670eb52
......@@ -237,3 +237,9 @@ if config('ENABLE_DEBUG_LOG', cast=bool, default=False):
loggers_dict.update(logger_item)
LOGGING['loggers'] = loggers_dict
if 'ldap3' in modules_to_log_list:
from ldap3.utils.log import (
set_library_log_detail_level, OFF, BASIC, NETWORK, EXTENDED
)
set_library_log_detail_level(BASIC)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment