开启日志打印
application.yml文件开启方式:
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
configuration:
#关闭日志打印则用这个impl:org.apache.ibatis.logging.nologging.NoLoggingImpl
log-impl: ${MYBATIS_PLUS_LOG_IMPL:org.apache.ibatis.logging.stdout.StdOutImpl}
application.properties文件按以上yml文件自行更改格式即可。
关闭日志打印
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
configuration:
log-impl: ${MYBATIS_PLUS_LOG_IMPL:org.apache.ibatis.logging.nologging.NoLoggingImpl}