logback-access-spring-boot-starter icon indicating copy to clipboard operation
logback-access-spring-boot-starter copied to clipboard

support slf4j (log4j2)

Open rr-nick-tan opened this issue 3 years ago • 3 comments

Describe the problem you'd like to have solved

our apps use slf4j as facade api, and log4j2 as the implementation. however, to enable accesslog in springboot, we have to introduce logback which causes the conflicts by slf4j binding the wrong implementation. because the both slf4j api implementation are on the JVM classpath

Describe the solution you'd like

i'd like to have the option to select the access log implementation, either log4j2 or logback

rr-nick-tan avatar Jan 27 '22 04:01 rr-nick-tan

Thank you for your suggestion.

I will consider whether it can support log4j2, but it may be difficult. (Because Logback Access depends on Logback.)

akkinoc avatar Feb 21 '22 06:02 akkinoc

any progress or a solution for this issue?

rzanner avatar Jan 11 '23 15:01 rzanner

Sorry, I don't have a solution for now. If you have a good solution, I would appreciate it if you could suggest it.

akkinoc avatar May 03 '23 11:05 akkinoc