From 48b2ade48b6cf8f00cfbd15c1c047544fb846d64 Mon Sep 17 00:00:00 2001 From: ilkecan Date: Thu, 14 Nov 2024 20:32:25 +0300 Subject: [PATCH] logger: Set `allow_logging_basic_config` as `False` --- rollbar/logger.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rollbar/logger.py b/rollbar/logger.py index ef3b1025..aada05da 100644 --- a/rollbar/logger.py +++ b/rollbar/logger.py @@ -60,7 +60,9 @@ def __init__(self, if access_token is not None: rollbar.init( - access_token, environment, **resolve_logging_types(kw)) + access_token, environment, + allow_logging_basic_config=False, # a handler shouldn't configure the root logger + **resolve_logging_types(kw)) self.notify_level = _checkLevel(level)