diff --git a/src/radical/utils/configs/utils_default.json b/src/radical/utils/configs/utils_default.json index ae547038c..5e54cbbf0 100644 --- a/src/radical/utils/configs/utils_default.json +++ b/src/radical/utils/configs/utils_default.json @@ -3,7 +3,7 @@ "log_lvl" : "${RADICAL_DEFAULT_LOG_LVL:ERROR}", "log_tgt" : "${RADICAL_DEFAULT_LOG_TGT:.}", "log_dir" : "${RADICAL_DEFAULT_LOG_DIR:$PWD}", - "report" : "${RADICAL_DEFAULT_REPORT:True}", + "report" : "${RADICAL_DEFAULT_REPORT:TRUE}", "report_tgt" : "${RADICAL_DEFAULT_REPORT_TGT:stderr}", "report_dir" : "${RADICAL_DEFAULT_REPORT_DIR:$PWD}", "profile" : "${RADICAL_DEFAULT_PROFILE:TRUE}", diff --git a/src/radical/utils/reporter.py b/src/radical/utils/reporter.py index 26ad951da..d0aa99a61 100644 --- a/src/radical/utils/reporter.py +++ b/src/radical/utils/reporter.py @@ -114,7 +114,7 @@ def __init__(self, name, ns=None, path=None, targets=None, enabled=None): if ru_get_env_ns('report', ns) is not None: self._enabled = str(ru_get_env_ns('report', ns)).lower() - if self._enabled in ['0', 'false', 'off', False, None]: + if self._enabled in ['0', 'false', 'off', 'none']: self._enabled = False else: self._enabled = True