From 85217e4e9c9b116c1e588bfdb7cd7af29119aedc Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Sat, 8 Jan 2022 14:51:06 +0530 Subject: [PATCH] logging settings comment blocked in lieu of notif systems --- website/website/settings.py | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/website/website/settings.py b/website/website/settings.py index 519db03..294ee1b 100644 --- a/website/website/settings.py +++ b/website/website/settings.py @@ -162,4 +162,27 @@ REST_FRAMEWORK = { 'rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.SessionAuthentication', ] -} \ No newline at end of file +} + +# LOGGING = { +# 'version': 1, +# 'disable_existing_loggers': False, +# 'handlers': { +# 'file': { +# 'level': 'DEBUG', +# 'class': 'logging.FileHandler', +# 'filename': './debug.log', +# }, +# 'error_file': { +# 'level': 'ERROR', +# 'class': 'logging.FileHandler', +# 'filename': './error.log', +# }, +# }, +# 'loggers': { +# 'django': { +# 'handlers': ['file', 'error_file'], +# 'propagate': True, +# }, +# }, +# }