Comment out annoying file logger

This commit is contained in:
Corban-Lee Jones 2024-03-06 16:05:49 +00:00
parent fc8cea1d0a
commit fc992c75a6

View File

@ -128,12 +128,12 @@ LOGGING = {
'version': 1, 'version': 1,
'disable_existing_loggers': False, 'disable_existing_loggers': False,
'handlers': { 'handlers': {
'file': { # 'file': {
'level': 'DEBUG', # 'level': 'DEBUG',
'class': 'logging.FileHandler', # 'class': 'logging.FileHandler',
'filename': LOGGING_DIR / f'{timezone.now()}.log', # 'filename': LOGGING_DIR / f'{timezone.now()}.log',
"formatter": "verbose", # "formatter": "verbose",
}, # },
'console': { 'console': {
'level': 'DEBUG', 'level': 'DEBUG',
'class': 'logging.StreamHandler', 'class': 'logging.StreamHandler',
@ -163,7 +163,7 @@ LOGGING = {
}, },
"django.request": { "django.request": {
"handlers": ["timed_file", "console"], "handlers": ["timed_file", "console"],
"level": "ERROR", "level": "DEBUG",
"propagate": True "propagate": True
} }
}, },