51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

springbootのmybatis-plus日志打印

只需要在yml中配置

image-20201111203228109

|------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | hljs yaml spring: cloud: alicloud: access-key: secret-key: oss: endpoint: bucket: redis: host: localhost port: 6379 datasource: url: jdbc:sqlite:data.db driver-class-name: org.sqlite.JDBC # mybatis的配置 mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |

配置完成后重启即可

image-20201111203311525

赞(0)
未经允许不得转载:工具盒子 » springbootのmybatis-plus日志打印