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, +# }, +# }, +# }