From e9a0dbc1461ad7037a7ceb2e956777c9465c69ed Mon Sep 17 00:00:00 2001 From: Erwin Scholtens Date: Mon, 22 Apr 2024 15:01:12 +0200 Subject: [PATCH] Remove setting of the _root_ logger level as this is best done by the end user. --- src/mistralai/client_base.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mistralai/client_base.py b/src/mistralai/client_base.py index c114ea1..9eb47a6 100644 --- a/src/mistralai/client_base.py +++ b/src/mistralai/client_base.py @@ -10,11 +10,6 @@ ) from mistralai.models.chat_completion import ChatMessage, Function, ResponseFormat, ToolChoice -logging.basicConfig( - format="%(asctime)s %(levelname)s %(name)s: %(message)s", - level=os.getenv("LOG_LEVEL", "ERROR"), -) - class ClientBase(ABC): def __init__(