Skip to content
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

Issue #5817 - allow CustomRequestLog to be filtered with BiPredicate #6176

Merged

Conversation

lachlan-roberts
Copy link
Contributor

closes #5817

Allow filtering in CustomRequestLog. You can now set a BiPredicate<Request,Response> which will be evaluated for each request to be logged, it will only log to the RequestLog if the BiPredicate returns true.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts requested a review from joakime April 15, 2021 10:12
Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the javadoc.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts merged commit 3b88b47 into jetty-10.0.x Apr 27, 2021
@lachlan-roberts lachlan-roberts deleted the jetty-10.0.x-5817-CustomRequestLogFiltering branch April 27, 2021 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide more filtering for CustomRequestLog
2 participants