Skip to content

Commit 8843eae

Browse files
fix: Update mpesakit/http_client/mpesa_http_client.py
Don’t call logging.basicConfig in a library module. This globally alters app logging. Remove basicConfig; keep module logger only. Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent f0e98b8 commit 8843eae

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

mpesakit/http_client/mpesa_http_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from .http_client import HttpClient
1818

1919

20-
logging.basicConfig(level=logging.INFO)
2120
logger = logging.getLogger(__name__)
2221

2322
def handle_request_error(response: requests.Response):

0 commit comments

Comments
 (0)