diff --git a/modules/nixos/django-apps/default.nix b/modules/nixos/django-apps/default.nix index 6055ccb..4932f50 100644 --- a/modules/nixos/django-apps/default.nix +++ b/modules/nixos/django-apps/default.nix @@ -692,6 +692,19 @@ in name email ]) ({ "Admins DGNum" = "admins+dj-${name}@dgnum.eu"; } // config.admins); + LOGGING = { + version = 1; + disable_existing_loggers = false; + handlers = { + console = { + class = "logging.StreamHandler"; + }; + }; + root = { + handlers = [ "console" ]; + level = "WARNING"; + }; + }; }) // { DJANGO_SETTINGS_MODULE = config.application.settingsModule;