diff --git a/standalone/config/settings.py b/standalone/config/settings.py index 2a6340f5..237be0c5 100644 --- a/standalone/config/settings.py +++ b/standalone/config/settings.py @@ -229,3 +229,20 @@ MEDIA_ROOT = '/data/media' # for Django 3.2+, set default for autofields: DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + +LOGGING = { + 'version': 1, + 'disable_existing_loggers': False, + 'handlers': { + 'console': { + 'class': 'logging.StreamHandler', + }, + }, + 'loggers': { + 'django': { + 'handlers': ['console'], + 'level': 'ERROR', # Change to 'DEBUG' if you want to print all debug messages as well + 'propagate': True, + }, + }, +}