diff --git a/web/settings.py b/web/settings.py index 98c6ff8..120bd97 100644 --- a/web/settings.py +++ b/web/settings.py @@ -205,9 +205,30 @@ # FIXME: This is a workaround because WhiteNoise's files storage raises error 500. # http://whitenoise.evans.io/en/stable/django.html#troubleshooting-the-whitenoise-storage-backend -STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage" +# STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage" DJANGO_LIVESYNC = { "HOST": "localhost", "PORT": 9001, } + +LOGGING = { + "version": 1, + "disable_existing_loggers": False, + "handlers": { + "console": { + "class": "logging.StreamHandler", + }, + }, + "loggers": { + "django": { + "handlers": ["console"], + "propagate": True, + "level": "DEBUG", + }, + "whitenoise": { + "handlers": ["console"], + "level": "DEBUG", + }, + }, +}