From aa6acda1b9478b4a02eac4dd553e76594ef27a06 Mon Sep 17 00:00:00 2001 From: Jona Date: Fri, 27 Oct 2023 09:33:27 -0400 Subject: [PATCH] Logging not working. Try print --- cerulean_cloud/cloud_run_orchestrator/handler.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/cerulean_cloud/cloud_run_orchestrator/handler.py b/cerulean_cloud/cloud_run_orchestrator/handler.py index 4eb42265..e37f18d9 100644 --- a/cerulean_cloud/cloud_run_orchestrator/handler.py +++ b/cerulean_cloud/cloud_run_orchestrator/handler.py @@ -428,15 +428,13 @@ async def _orchestrate( features=flatten_feature_list(offset_tiles_inference) ) except AttributeError as e: - logging.debug(f"YYY error details: {e}") - logging.debug(f"YYY base_tiles_inference: {base_tiles_inference}") - logging.debug( - f"YYY offset_tiles_inference: {offset_tiles_inference}" - ) - logging.debug( + print(f"YYY error details: {e}") + print(f"YYY base_tiles_inference: {base_tiles_inference}") + print(f"YYY offset_tiles_inference: {offset_tiles_inference}") + print( f"YYY [r for r in base_tiles_inference]: {[r for r in base_tiles_inference]}" ) - logging.debug( + print( f"YYY [r for r in offset_tiles_inference]: {[r for r in offset_tiles_inference]}" ) raise e