I have a question about logback, log4j, and slf4j crashes

Viewed 17

(prev question : What does the below mean in logback's logger?)

I'm currently struggling with a log library crash.

Deployed the same .war file on both tomcat servers, everything is the same.

On Server A, the org.springframework.* logs are properly logged.

No org.springframework.* logs are logged on Server B.

In Server B, if log4j-api-2.7.1.jar is not loaded by renaming, org.springframework.* log is recorded.

In what cases can this happen?

If anyone knows, please let me know.

my WEB-INF/lib directory about log, slf4j jar file

common-logging-1.2.jar

jboss-logging-3.4.1.Final.jar

log4j-api-2.17.1.jar

log4j-over-slf4j-1.7.32.jar

logback-classic-1.2.10.jar

logback-core-1.2.10.jar

jcl-over-slf4j-1.7.21.jar

jul-to-slf4j-1.7.32.jar

log4j-over-slf4j-1.7.32.jar

slf4j-api-1.7.21.jar

0 Answers
Related