From 9af6b1d051e960bf66398bc226c8e2fec4d55880 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 18 Dec 2022 17:13:33 +0100 Subject: Disable debug mode Signed-off-by: Georg Pfuetzenreuter --- takahe/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/takahe/settings.py b/takahe/settings.py index 02f91dd..6623d01 100644 --- a/takahe/settings.py +++ b/takahe/settings.py @@ -65,7 +65,7 @@ class Settings(BaseSettings): ENVIRONMENT: Environments = "production" #: Should django run in debug mode? - DEBUG: bool = True + DEBUG: bool = False #: Set a secret key used for signing values such as sessions. Randomized #: by default, so you'll logout everytime the process restarts. @@ -467,7 +467,7 @@ SAML_CONFIG = { 'remote': [{"url": "https://libsso.net/realms/LibertaCasa/protocol/saml/descriptor"},], }, - 'debug': 1, + 'debug': 0, 'key_file': '__REPLACE_ME__', # private part 'cert_file': '__REPLACE_ME__', # public part @@ -489,6 +489,6 @@ LOGGING = { }, 'root': { 'handlers': ['console'], - 'level': 'DEBUG', + 'level': 'INFO', }, } -- cgit v1.2.3