From de80ab751a3193adb7d12c15ea2b2e48704f9a93 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Wed, 31 Jan 2018 10:47:31 -0500 Subject: [PATCH] Remove the debug override. --- cms/envs/aws.py | 1 - lms/envs/aws.py | 1 - lms/envs/static.py | 3 +-- openedx/core/lib/logsettings.py | 3 +-- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cms/envs/aws.py b/cms/envs/aws.py index 3fe992d1ab..5e96be8785 100644 --- a/cms/envs/aws.py +++ b/cms/envs/aws.py @@ -256,7 +256,6 @@ WIKI_ENABLED = ENV_TOKENS.get('WIKI_ENABLED', WIKI_ENABLED) LOGGING = get_logger_config(LOG_DIR, logging_env=ENV_TOKENS['LOGGING_ENV'], - debug=False, service_variant=SERVICE_VARIANT) #theming start: diff --git a/lms/envs/aws.py b/lms/envs/aws.py index b8dcbdb500..8e60fe02bd 100644 --- a/lms/envs/aws.py +++ b/lms/envs/aws.py @@ -345,7 +345,6 @@ local_loglevel = ENV_TOKENS.get('LOCAL_LOGLEVEL', 'INFO') LOGGING = get_logger_config(LOG_DIR, logging_env=ENV_TOKENS['LOGGING_ENV'], local_loglevel=local_loglevel, - debug=False, service_variant=SERVICE_VARIANT) COURSE_LISTINGS = ENV_TOKENS.get('COURSE_LISTINGS', {}) diff --git a/lms/envs/static.py b/lms/envs/static.py index 3a02a8140d..3c015e1c84 100644 --- a/lms/envs/static.py +++ b/lms/envs/static.py @@ -20,8 +20,7 @@ STATIC_GRAB = True LOGGING = get_logger_config(ENV_ROOT / "log", logging_env="dev", - tracking_filename="tracking.log", - debug=False) + tracking_filename="tracking.log") DATABASES = { 'default': { diff --git a/openedx/core/lib/logsettings.py b/openedx/core/lib/logsettings.py index a600449e5c..11f6c3938a 100644 --- a/openedx/core/lib/logsettings.py +++ b/openedx/core/lib/logsettings.py @@ -16,7 +16,6 @@ def get_logger_config(log_dir, edx_filename="edx.log", dev_env=False, syslog_addr=None, - debug=False, local_loglevel='INFO', console_loglevel=None, service_variant=None): @@ -42,7 +41,7 @@ def get_logger_config(log_dir, local_loglevel = 'INFO' if console_loglevel is None or console_loglevel not in LOG_LEVELS: - console_loglevel = 'DEBUG' if debug else 'INFO' + console_loglevel = 'INFO' if service_variant is None: # default to a blank string so that if SERVICE_VARIANT is not