From 7153c5308a8ef619236905c8831132197cdafa3b Mon Sep 17 00:00:00 2001 From: Joshua Smith Date: Fri, 14 Mar 2025 10:12:09 -0400 Subject: [PATCH] set logging level (to Info) --- scripts/run_worker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/run_worker.py b/scripts/run_worker.py index 7b9549e..c30c953 100644 --- a/scripts/run_worker.py +++ b/scripts/run_worker.py @@ -2,6 +2,7 @@ import asyncio import concurrent.futures import os from dotenv import load_dotenv +import logging from temporalio.worker import Worker @@ -48,6 +49,9 @@ async def main(): print("===========================================================\n") print("Worker ready to process tasks!") + logging.basicConfig(level=logging.INFO) + + # Run the worker with concurrent.futures.ThreadPoolExecutor(max_workers=100) as activity_executor: