From 9bed4c7129f75aaeaef9d9310998e0ceb456464d Mon Sep 17 00:00:00 2001 From: dsm-ll Date: Tue, 25 Jun 2024 18:05:20 -0300 Subject: [PATCH] ACTIVATE_TELLIOT_LOG_FILE - default only log file --- src/fetch_disputables/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fetch_disputables/cli.py b/src/fetch_disputables/cli.py index 15647e00..e7f49336 100644 --- a/src/fetch_disputables/cli.py +++ b/src/fetch_disputables/cli.py @@ -199,6 +199,10 @@ def get_reporters_balance_threshold(reporters: list[str], env_variable_name: str slack = None +if os.getenv('ACTIVATE_TELLIOT_LOG_FILE') is None: + logger.info('ACTIVATE_TELLIOT_LOG_FILE not set, setting to default "True"') + os.environ['ACTIVATE_TELLIOT_LOG_FILE'] = "True" + def print_title_info() -> None: """Prints the title info.""" click.echo("Disputable Values Monitor 📒🔎📲")