From d469f2ab98af7cb818ac4f69c992a56511fe8c61 Mon Sep 17 00:00:00 2001 From: erwinscholtens Date: Thu, 23 May 2024 18:07:01 +0200 Subject: [PATCH] Remove setting of the _root_ logger level as this is best done by the end user. (#86) Co-authored-by: Erwin Scholtens --- 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__(