From a423419eca285d0b23ad3f31956297851a608d22 Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Sun, 14 Mar 2021 10:45:36 +0300 Subject: Adds Logging Support Adds formatters and handlers for logging. Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> --- backend/constants.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/constants.py') diff --git a/backend/constants.py b/backend/constants.py index d90fd9a..50c09ea 100644 --- a/backend/constants.py +++ b/backend/constants.py @@ -15,6 +15,8 @@ SNEKBOX_URL = os.getenv("SNEKBOX_URL", "http://snekbox.default.svc.cluster.local PRODUCTION = os.getenv("PRODUCTION", "True").lower() != "false" PRODUCTION_URL = "https://forms.pythondiscord.com" +LOG_FILES = os.getenv("LOG_FILES", "False").lower() != "false" + OAUTH2_CLIENT_ID = os.getenv("OAUTH2_CLIENT_ID") OAUTH2_CLIENT_SECRET = os.getenv("OAUTH2_CLIENT_SECRET") OAUTH2_REDIRECT_URI = os.getenv( -- cgit v1.2.3