79263042

Date: 2024-12-08 17:59:36
Score: 2.5
Natty:
Report link

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!

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same problem
  • Low reputation (1):
Posted by: Jon Matte