Title: Unintended global logging configuration introduced in v1.10.0 · Issue #1045 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Unintended global logging configuration introduced in v1.10.0 · Issue #1045 · modelcontextprotocol/python-sdk
X Title: Unintended global logging configuration introduced in v1.10.0 · Issue #1045 · modelcontextprotocol/python-sdk
Description: In version v1.10.0, a global logging configuration was introduced in the following file: https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/session.py#L18 logging.basicConfig(level=logging.INFO) As this is execut...
Open Graph Description: In version v1.10.0, a global logging configuration was introduced in the following file: https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/session.py#L18 logging.basicConf...
X Description: In version v1.10.0, a global logging configuration was introduced in the following file: https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/session.py#L18 logging.basicConf...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/1045
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unintended global logging configuration introduced in v1.10.0","articleBody":"In version `v1.10.0`, a global logging configuration was introduced in the following file:\n\nhttps://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/session.py#L18\n\n```python\nlogging.basicConfig(level=logging.INFO)\n````\n\nAs this is executed at the module level, it affects the global logging configuration of any application that imports this module. This can cause unexpected logging behavior and conflicts, especially when applications or other libraries have their own logging configurations.","author":{"url":"https://github.com/kiarina","@type":"Person","name":"kiarina"},"datePublished":"2025-06-27T03:43:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1045/python-sdk/issues/1045"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ff0afa5b-c112-eac7-7181-ddbce31a908c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D460:3E096D:34A2E7B:48D7D79:6A60D83C |
| html-safe-nonce | d1e240278256d28b519a1bb1b9cf1d5ce77481048137726a685b82b53e806088 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDYwOjNFMDk2RDozNEEyRTdCOjQ4RDdENzk6NkE2MEQ4M0MiLCJ2aXNpdG9yX2lkIjoiMTEwNDU1OTA5MTE4OTU3NjI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | abd916014cd17cf1d42d93355055fd8dc229f4ee4c48cf61d313b65fd3961796 |
| hovercard-subject-tag | issue:3181230562 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/python-sdk/1045/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86f7e59f6d90eb9d35d866c5818647cc722043fbd4f7e2c604f090fae6e47a0b/modelcontextprotocol/python-sdk/issues/1045 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86f7e59f6d90eb9d35d866c5818647cc722043fbd4f7e2c604f090fae6e47a0b/modelcontextprotocol/python-sdk/issues/1045 |
| og:image:alt | In version v1.10.0, a global logging configuration was introduced in the following file: https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/session.py#L18 logging.basicConf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kiarina |
| hostname | github.com |
| expected-hostname | github.com |
| None | 025e511fb0e6dd11aaa36892212f7bcc13708244bc2bcbeff1cf34fc77723812 |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 405b1f59618e9c5e102e2408c26ce58f1937fbca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width