Remove redundant code
This commit is contained in:
parent
1bd4b42fe9
commit
a2550e4bff
1 changed files with 0 additions and 6 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue