Skip to content

fix: remove spammy logs when using stateless mode#699

Open
kristof-mattei wants to merge 1 commit intomodelcontextprotocol:mainfrom
kristof-mattei:patch-1
Open

fix: remove spammy logs when using stateless mode#699
kristof-mattei wants to merge 1 commit intomodelcontextprotocol:mainfrom
kristof-mattei:patch-1

Conversation

@kristof-mattei
Copy link

Motivation and Context

Reduces spam in the logs.

Matches the setup in stateful mode, where the message isn't logged either.

We could log them in both situations at a TRACE level?

How Has This Been Tested?

Yes, validated that the log is no longer being printed.

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

Additional context

@github-actions github-actions bot added T-core Core library changes T-transport Transport layer changes labels Feb 26, 2026
Stateful doesn't log the `message` either.
@kristof-mattei kristof-mattei force-pushed the patch-1 branch 2 times, most recently from 03154df to e19462b Compare February 26, 2026 20:17
@kristof-mattei kristof-mattei marked this pull request as ready for review February 26, 2026 20:31
@kristof-mattei kristof-mattei requested a review from a team as a code owner February 26, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-core Core library changes T-transport Transport layer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant