yml配置文件中加入配置

Mybatis-plus

mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

Mybatis

mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl