From 4f194aa7bd00d9a7b02c0f30043f19bed638c4b2 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sun, 8 Dec 2024 10:54:02 -0500 Subject: [PATCH] fix: remove set_logger parameters --- joint_teapot/app.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/joint_teapot/app.py b/joint_teapot/app.py index 7cd1ba9..e0e5ce3 100644 --- a/joint_teapot/app.py +++ b/joint_teapot/app.py @@ -253,7 +253,7 @@ def joj3_scoreboard( ), ) -> None: set_settings(Settings(_env_file=env_path)) - set_logger(settings.stderr_log_level, diagnose=False, backtrace=False) + set_logger(settings.stderr_log_level) logger.info(f"debug log to file: {settings.log_file_path}") if joj3.check_skipped(score_file_path, "skip-scoreboard"): return @@ -335,7 +335,7 @@ def joj3_failed_table( ), ) -> None: set_settings(Settings(_env_file=env_path)) - set_logger(settings.stderr_log_level, diagnose=False, backtrace=False) + set_logger(settings.stderr_log_level) logger.info(f"debug log to file: {settings.log_file_path}") if joj3.check_skipped(score_file_path, "skip-failed-table"): return @@ -415,7 +415,7 @@ def joj3_create_result_issue( ), ) -> None: set_settings(Settings(_env_file=env_path)) - set_logger(settings.stderr_log_level, diagnose=False, backtrace=False) + set_logger(settings.stderr_log_level) logger.info(f"debug log to file: {settings.log_file_path}") if joj3.check_skipped(score_file_path, "skip-result-issue"): return @@ -501,7 +501,7 @@ def joj3_all( ), ) -> None: set_settings(Settings(_env_file=env_path)) - set_logger(settings.stderr_log_level, diagnose=False, backtrace=False) + set_logger(settings.stderr_log_level) res = { "issue": 0, "action": int(run_number) if run_number != "" else 0, @@ -673,7 +673,7 @@ def joj3_check( ), ) -> None: set_settings(Settings(_env_file=env_path)) - set_logger(settings.stderr_log_level, diagnose=False, backtrace=False) + set_logger(settings.stderr_log_level) repo: Repo = tea.pot.git.get_repo(repo_name) now = datetime.now() items = group_config.split(",")