GeezerVison is showing github.com — Consistently add channel info in HTTP/2 logs by idelpivnitskiy · Pull Request #14829 · netty/netty
Conversation
Motivation:
Some HTTP/2 log messages do not contain channel information, making it hard to debug when it's not possible to relate these events to others.
Modifications:
- Add channel info at the beginning of all log messages in
netty-codec-http2 module;
Result:
HTTP/2 logs consistently start with channel info.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Motivation:
Some HTTP/2 log messages do not contain channel information, which makes
it hard to debug when it's not possible to relate these events to
others.
Modifications:
- Add channel info at the beginning of all log messages in
`netty-codec-http2` module;
Result:
HTTP/2 logs consistently start with channel info.
|
|
} catch (Throwable cause) {
|
|
|
logger.error("Caught Throwable from listener.writabilityChanged", cause);
|
|
|
logger.error("{} Caught Throwable from listener.writabilityChanged for {}",
|
|
|
ctx.channel(), state.stream, cause);
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few similar logs in DefaultHttp2Connection that I was not able to align because there is no reference to the channel. Any ideas what we can do there?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will need to dig a bit... That said we might be out of luck then
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
normanmaurer
pushed a commit
that referenced
this pull request
Feb 18, 2025
Motivation:
Some HTTP/2 log messages do not contain channel information, making it
hard to debug when it's not possible to relate these events to others.
Modifications:
- Add channel info at the beginning of all log messages in
`netty-codec-http2` module;
Result:
HTTP/2 logs consistently start with channel info.
normanmaurer
added a commit
that referenced
this pull request
Feb 18, 2025
Motivation:
Some HTTP/2 log messages do not contain channel information, making it
hard to debug when it's not possible to relate these events to others.
Modifications:
- Add channel info at the beginning of all log messages in
`netty-codec-http2` module;
Result:
HTTP/2 logs consistently start with channel info.
Co-authored-by: Idel Pivnitskiy <[email protected]>
normanmaurer
added a commit
that referenced
this pull request
Feb 18, 2025
Motivation:
Some HTTP/2 log messages do not contain channel information, making it
hard to debug when it's not possible to relate these events to others.
Modifications:
- Add channel info at the beginning of all log messages in
`netty-codec-http2` module;
Result:
HTTP/2 logs consistently start with channel info.
Co-authored-by: Idel Pivnitskiy <[email protected]>
This was referenced Sep 14, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.