Skip to content

Commit

Permalink
test fix logging
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Rusak <lorusak@gmail.com>
  • Loading branch information
lrusak committed May 16, 2024
1 parent da6852d commit b596f20
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/libeagle/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit b596f20

Please sign in to comment.