Skip to content

Set log level request and deserialization #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

maschnetwork
Copy link

@maschnetwork maschnetwork commented Apr 7, 2025

Motivation and Context

Addresses issue #97

How Has This Been Tested?

Tested with StdioTransport. Verfied that only configured logs are send after setLogLevel with local client. Since current TestSuite did not catch the initial issue a question remains on how to test the schema conformance in general. Open to ideas.

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

@tzolov
Copy link
Contributor

tzolov commented Apr 9, 2025

Thank your @maschnetwork for catching this issue!

While reviewing the current logging support impl, I found other bugs addressed in #132 (which should cover this PR too - please review).

Important note: The current broadcasting approach will be deprecated/removed. Logging should follow the same flow as sampling and roots, using the exchange to notify only clients in the session.

@maschnetwork
Copy link
Author

Hi @tzolov, thank you. I see it being addressed in your PR. Let me know if you need any further help on this.

@tzolov
Copy link
Contributor

tzolov commented Apr 10, 2025

Replaced by #132

@tzolov tzolov closed this Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants