logback-spring.xml 中加入<logger name="com.jiangxin.game.dao" level="DEBUG"> <appender-ref ref="CONSOLE" /> </logger>