From b596f2009bf819f0f7fa08c2140820dd31c44b4e Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Thu, 16 May 2024 11:32:45 -0700 Subject: [PATCH] test fix logging Signed-off-by: Lukas Rusak --- src/libeagle/connection.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libeagle/connection.py b/src/libeagle/connection.py index 33db605..220a578 100644 --- a/src/libeagle/connection.py +++ b/src/libeagle/connection.py @@ -32,10 +32,8 @@ def __init__( debug:bool Enable debug logging """ - self.logger = logging.getLogger() - - if debug: - self.logger.setLevel(logging.DEBUG) + self.logger = logging.getLogger("libeagle") + self.logger.setLevel(logging.DEBUG) url = f"http://{hostname}:{port}"