diff --git a/fet2020/fet2020/settings.py b/fet2020/fet2020/settings.py index c5c2887f..2e7e7230 100644 --- a/fet2020/fet2020/settings.py +++ b/fet2020/fet2020/settings.py @@ -12,6 +12,23 @@ https://docs.djangoproject.com/en/3.0/ref/settings/ import os +#Prints and logs are written to console +#TODO: Change before release +LOGGING = { + 'version': 1, + 'disable_existing_loggers': False, + 'handlers': { + 'console': { + 'class': 'logging.StreamHandler', + }, + }, + 'root': { + 'handlers': ['console'], + 'level': 'DEBUG', + }, +} + + # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))