Commit a2550e4b authored by PCoder's avatar PCoder

Remove redundant code

parent 1bd4b42f
...@@ -228,12 +228,6 @@ LDAP_DEFAULT_START_UID = config( ...@@ -228,12 +228,6 @@ LDAP_DEFAULT_START_UID = config(
if config('ENABLE_DEBUG_LOG', cast=bool, default=False): if config('ENABLE_DEBUG_LOG', cast=bool, default=False):
loggers_dict = {} loggers_dict = {}
LOGGING['handlers']['file'] = {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': os.path.join(BASE_DIR, 'debug.log'),
}
MODULES_TO_LOG = config('MODULES_TO_LOG', 'django') MODULES_TO_LOG = config('MODULES_TO_LOG', 'django')
LOGGING['handlers']['file'] = { LOGGING['handlers']['file'] = {
'level': 'DEBUG', 'level': 'DEBUG',
......
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