-
Notifications
You must be signed in to change notification settings - Fork 863
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
Log channel ID when logging error #2892
Conversation
7b3f953
to
5c2528c
Compare
...lient/src/main/java/software/amazon/awssdk/http/nio/netty/internal/NettyRequestExecutor.java
Outdated
Show resolved
Hide resolved
...ent/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/ChannelLogHelper.java
Outdated
Show resolved
Hide resolved
...ent/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/ChannelLogHelper.java
Outdated
Show resolved
Hide resolved
...ent/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/ChannelLogHelper.java
Outdated
Show resolved
Hide resolved
1f6f2da
to
300cc57
Compare
...lient/src/main/java/software/amazon/awssdk/http/nio/netty/internal/NettyRequestExecutor.java
Outdated
Show resolved
Hide resolved
...nt/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/NettyClientLogger.java
Show resolved
Hide resolved
...nt/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/NettyClientLogger.java
Outdated
Show resolved
Hide resolved
...nt/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/NettyClientLogger.java
Outdated
Show resolved
Hide resolved
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.
We seem to have quite a few other Netty-based classes that could benefit from this logger. E.g., here is one I chose at random. How can we go about making sure this logger is more consistently used?
Now that we have switched to full-fledged facade, it would be easier to do that by enforcing the use of this logger only within the Netty module. |
...nt/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/NettyClientLogger.java
Outdated
Show resolved
Hide resolved
...nt/src/main/java/software/amazon/awssdk/http/nio/netty/internal/utils/NettyClientLogger.java
Outdated
Show resolved
Hide resolved
b1feca0
to
a34d7e3
Compare
Kudos, SonarCloud Quality Gate passed! |
…2798c8cb1 Pull request: release <- staging/1c0c8ade-7bcb-4158-8160-4962798c8cb1
Motivation and Context
Better logging.
Description
Testing
Added unit tests, ran integration tests.
Screenshots (if appropriate)
Types of changes
Checklist
mvn install
succeedsLicense