Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rock/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def init_logger(name: str | None = None):
logger.addHandler(handler)
logger.setLevel(log_level)

logger.propagate = False

# Configure urllib3 specifically if this is called for the first time with appropriate logger
if logger_name in ["rock", "admin"] or logger_name.startswith("rock."):
logging.getLogger("urllib3").setLevel(logging.WARNING)
Expand Down
Loading