Skip to content

Fix JSON logging from standard error#1145

Merged
DavyLandman merged 1 commit into
mainfrom
fix/language-server-logging
Jul 2, 2026
Merged

Fix JSON logging from standard error#1145
DavyLandman merged 1 commit into
mainfrom
fix/language-server-logging

Conversation

@toinehartman

@toinehartman toinehartman commented Jul 2, 2026

Copy link
Copy Markdown
Member

The update of vscode-languageclient to 10.x in #1114 changed logging behaviour, since the logger is now a LogOutputChannel by default (instead of an OutputChannel - microsoft/vscode-languageserver-node#1630).

Where before, we received OuptuChannel::append calls for LOG4J messages from the language server, this has changed to LogOutputChannel::error calls, enabled by the more refined logger type in the client. This is probably because LOG4J uses the standard error stream.

@toinehartman toinehartman self-assigned this Jul 2, 2026
@toinehartman toinehartman added the bug Something isn't working label Jul 2, 2026
@toinehartman toinehartman force-pushed the fix/language-server-logging branch from 21c9a4a to a7ab8e7 Compare July 2, 2026 14:29
The update of `vscode-languageclient` to `10.x` in #1114 changed
logging behaviour, since the logger is now a `LogOutputChannel` by
default (instead of an `OutputChannel`).
@toinehartman toinehartman force-pushed the fix/language-server-logging branch from a7ab8e7 to 1db58d4 Compare July 2, 2026 14:30
@toinehartman toinehartman changed the title Fix JSON parsing of logging dependency update. Fix JSON parsing Jul 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jul 2, 2026

Copy link
Copy Markdown

@toinehartman toinehartman changed the title Fix JSON parsing Fix JSON logging from standard error Jul 2, 2026
@DavyLandman DavyLandman merged commit fed1e5b into main Jul 2, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants