我是这样设置的,可惜没有成功,正常的输出没有问题,但sql无法输出
<configuration scan="true" scanPeriod="30 seconds">
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
<resetJUL>true</resetJUL>
</contextListener>
<!-- To enable JMX Management -->
<jmxConfigurator/>
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>[cjjc]%-5level %logger{0} - %msg%n</pattern>
</encoder>
</appender>
<logger name="org.nutz.dao" level="DEBUG" />
<logger name="com.test" additivity="true">
<level value="DEBUG" />
<appender-ref ref="console" />
</logger>
</configuration>