Im having the same problem - would love to hear an answer to this
Here's what i did to get around the issue so i could keep working:
-
import logging
logging.basicConfig(
level=logging.INFO, # Set to DEBUG for more detailed logs
format="%(asctime)s - %(levelname)s - %(message)s",
handlers=[
logging.FileHandler("agent.log"), # Logs to a file
logging.StreamHandler() # Logs to the console
]
)
And you need to adjust how your errors and whatnot are being logged, but chatgpt can help you with that!
Good luck!