# application.yml
logging:
level:
com.fwzx.dao: debug #对应到mapper中dao包的路径
# 等价于application.properties
logging.level.com.example.demo.mapper=debug
# application.yml
mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 等价于application.properties
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
<configuration>
<settings>
<setting name="logImpl" value="STDOUT_LOGGING"/>
</settings>
</configuration>
因篇幅问题不能全部显示,请点此查看更多更全内容