From 738687fcfed98a21a40f8309601bb0b29312dc9b Mon Sep 17 00:00:00 2001 From: Bernard Szabo Date: Wed, 4 Dec 2024 17:57:57 -0500 Subject: [PATCH] Diagnostic messages logged --- tubular/scripts/dd_synthetic_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tubular/scripts/dd_synthetic_tests.py b/tubular/scripts/dd_synthetic_tests.py index 2fe1afa8..85d40d7c 100644 --- a/tubular/scripts/dd_synthetic_tests.py +++ b/tubular/scripts/dd_synthetic_tests.py @@ -36,7 +36,7 @@ def run_synthetic_tests(enable_automated_rollbacks, slack_notification_channel): ''' PUBLIC_TEST_ID = "sad-hqu-h33" - print("In run_synthetic_tests") + logging.info("****** In run_synthetic_tests") sys.exit(1) # To test that this script is actually being run if enable_automated_rollbacks: @@ -55,7 +55,7 @@ def run_synthetic_tests(enable_automated_rollbacks, slack_notification_channel): # Fetch and print the test results test_results = dd_client.get_test_results(test_run_id, test_requests) - print("Test results:", test_results) + logging.info("****** Test results:", test_results) except Exception as e: print("An error occurred:", str(e))