Skip to content

Commit

Permalink
revert logger.py
Browse files Browse the repository at this point in the history
  • Loading branch information
teaxio authored Nov 1, 2024
1 parent 4a86fb5 commit 5142045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ae/utils/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def configure_logger(level: str = "INFO") -> None:
http_loggers = ["openai", "autogen"]
for http_logger in http_loggers:
lib_logger = logging.getLogger(http_logger)
lib_logger.setLevel(logging._nameToLevel[level.upper()])
lib_logger.setLevel(logging.DEBUG)
lib_logger.handlers = [] # Clear any existing handlers
lib_logger.addHandler(handler) # Add the same handler

Expand Down

0 comments on commit 5142045

Please sign in to comment.