Skip to content

Server declares logging capability but doesn't implement method: 'logging/setLevel #953

Description

@ycloud-sean

Inspector Version

  • [0.17.2)

Describe the bug
Error when I click connect

Activity

  1. olaservo commented on Dec 4, 2025

    @olaservo
    Member

    Hi @ycloud-sean , this error means that your server doesn't implement the method - could you share more details on whether your server actually implements this or not?

  2. ycloud-sean commented on Dec 5, 2025

    @ycloud-sean
    Author

    @olaservo
    When I specify the version number later, like this
    Image

    The right log looks like this
    Image
    Image

  3. cliffhall commented on Dec 13, 2025

    @cliffhall
    Member

    If the server is written in Typescript and uses a late-model version of the Typescript SDK, this would be handled automatically, with no need for the developer to write boilerplate code for handling the logging/setLevel request or for filtering messages according to the client's requested level.

    These two PRs added the feature to the TS SDK:

    We need to get other SDK maintainers to implement this feature as well. Assuming your server is not written in Typescript, please raise an issue with the SDK project you are building upon and reference this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting on submitterWaiting for the submitter to provide more info

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions