mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
set logging level (to Info)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user