Remove redundant code

This commit is contained in:
PCoder 2019-02-03 13:43:23 +01:00
parent 1bd4b42fe9
commit a2550e4bff

View file

@ -228,12 +228,6 @@ LDAP_DEFAULT_START_UID = config(
if config('ENABLE_DEBUG_LOG', cast=bool, default=False):
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')
LOGGING['handlers']['file'] = {
'level': 'DEBUG',