IDEA中Mybatis Log Plugin无法监听到sql语句

1.在application.properties文件配置,如下:

logging.level.com=debug

2.重新启动项目才能生效。

在这里插入图片描述

你可能感兴趣的:(springboot,java,spring,boot,后端)