yml的mybatis的sql查看;Mybatis+Springboot 控制台查看日志,Mybatis结合springboot打印日志

1.配置如图

yml的mybatis的sql查看;Mybatis+Springboot 控制台查看日志,Mybatis结合springboot打印日志

文件为yml

 mybatis:
mapper-locations: classpath:com/springboot/transaction/mapper/*.xml
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

打印效果:

yml的mybatis的sql查看;Mybatis+Springboot 控制台查看日志,Mybatis结合springboot打印日志

上一篇:Aeroplane chess(简单概率dp)


下一篇:HDU 3853 LOOPS 期望dp