-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Implement pcap logging for netty HTTP client #11117
base: 4.7.x
Are you sure you want to change the base?
Conversation
The server has supported this for a long time. This PR adds the same feature for client logging. The code is very similar, and the test is basically copied.
Quality Gate failedFailed conditions |
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.
Please, mention in https://docs.micronaut.io/4.6.5/guide/#jdkHttpClient that JDK Client implementation does it does not support pcap logging
@dstepanov PTAL |
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
* @return The path pattern, or {@code null} if logging is disabled. | ||
*/ | ||
@Internal | ||
public String getPcapLoggingPathPattern() { |
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.
What's the point of having the accessors internal? People will not see the property configuration as an internal
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.
the comment is for config users, the annotation is for programmatic users.
The server has supported this for a long time. This PR adds the same feature for client logging. The code is very similar, and the test is basically copied.