How to Disable MyBatis Plus Logging

One way to disable logging in MyBatis Plus is by configuring the logging level of MyBatis.

Add the following configuration in the application.properties or application.yml file:

# 设置MyBatis Plus的日志级别为OFF
logging.level.com.baomidou.mybatisplus.core=OFF

After the configuration is finished, the logging of MyBatis Plus will no longer be displayed.

bannerAds