可能是项目绑定的日志不是logback的jar包,而是其他包,具体可查看tomcat启动日志

 

log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:---/ROOT/WEB-INF/lib/activemq-all-5.8.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:---/WEB-INF/lib/logback-classic-1.0.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-12-12
  • 2022-12-23
猜你喜欢
  • 2021-05-06
  • 2021-08-21
  • 2021-10-18
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案