docker 不输出日志排查
1、检查是否有流量进入这台docker,有流量进入2、检查这台docker磁盘是否写满,没有写满3、检查这台docker打印日志级别,确认没有问题4、查看部署服务时日志输出情况,有问题SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/usr/local/to...
·
1、检查是否有流量进入这台docker,有流量进入
2、检查这台docker磁盘是否写满,没有写满
3、检查这台docker打印日志级别,确认没有问题
4、查看部署服务时日志输出情况,有问题
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/log4j-slf4j-impl-2.8.2.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]
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
jar包冲突了
排查pom那些依赖使用了slf4j-log4j12-1.7.7.jar
<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
更多推荐
已为社区贡献1条内容
所有评论(0)