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

Add support for logback-access v2 #407

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

croudet
Copy link

@croudet croudet commented Apr 12, 2024

Describe the changes

  • upgrade dependencies
  • Add support for logback-access v2
  • only supports jetty 12

@croudet croudet requested a review from akkinoc as a code owner April 12, 2024 13:38
/**
* Request wrapper that implements Servlet API.
*/
class RequestWrapper(private val request: Request) : HttpServletRequest, WrappedHttpRequest {
Copy link

@DarkAtra DarkAtra Apr 26, 2024

Choose a reason for hiding this comment

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

i'm not a maintainer of this project but It might be a better idea to ask the logback people to make their RequestWrapper constuctor public.

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Owner

@akkinoc akkinoc left a comment

Choose a reason for hiding this comment

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

Sorry for the late response.
Thank you for your contribution!

Comment on lines +130 to +143
<groupId>ch.qos.logback.access</groupId>
<artifactId>common</artifactId>
<version>2.0.1</version>
</dependency>
<dependency>
<groupId>ch.qos.logback.access</groupId>
<artifactId>tomcat</artifactId>
<version>2.0.1</version>
</dependency>
<dependency>
<groupId>ch.qos.logback.access</groupId>
<artifactId>jetty12</artifactId>
<version>2.0.1</version>
</dependency>
Copy link
Owner

@akkinoc akkinoc May 20, 2024

Choose a reason for hiding this comment

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

Is the primary purpose of this pull request to support Jetty 12? Or is it to support logback-access v2?

If primary purpose is to support Jetty 12:
Is it possible to use the version of "ch.qos.logback.access" defined in spring-boot-dependencies (without specifying the version)? Basically because I want to follow the versions defined in spring-boot-dependencies.

@akkinoc akkinoc added this to the v4 milestone May 20, 2024
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.

Jetty 12 Compatibility (Spring Boot 3.2.x)
3 participants