之前使用log4j没问题,现在换成logback通过Logs.get()获取log打印日志显示
org.nutz.log.impl.Log4jLogAdapter$Log4JLogger.log:110 ,有什么方法能获取到正确的类名呢?
maven配置如下
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutz</artifactId>
<version>1.r.66</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>1.7.21</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.8</version>
</dependency>