在application.yml中Mybatis配置下写上下面一段即可配置成功
configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl效果如下: