赞
踩
<settings>
<!-- 打印sql日志 -->
<setting name="logImpl" value="STDOUT_LOGGING" />
</settings>
2.applicationContext.yml
mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
注意:去除
logging:
level:
com.lucifer.springboot.cache.mapper: debug
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。