diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index ca51e13..927f25a 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -28,7 +28,8 @@ spring: execution: pool: core-size: 32 - + jpa: + show-sql: false # token配置 token: @@ -52,6 +53,9 @@ logging: level: cn.van333: debug org.springframework: warn + hibernate: error # 关闭 Hibernate 日志级别 + hibernate.SQLWaringLogger: error + hibernate.engine.query.spi.HQLQueryPlan: error rocketmq: name-server: 192.168.8.88:9876 # RocketMQ Name Server 地址 producer: diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index de0bf68..6db3500 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -6,9 +6,10 @@ - + + logs/app.log