File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,19 +12,21 @@ logging:
1212 level :
1313 # 全局日志级别
1414 root : info
15- # 框架日志级别 - 调整为INFO/WARN以减少输出
15+ # 框架日志级别
1616 org.springframework : INFO
1717 org.springframework.web.socket : INFO
1818 org.springframework.messaging : INFO
1919 org.springframework.data.redis : WARN
20- # 业务包日志级别 - 保留DEBUG用于调试
21- org.springframework.jdbc.core.JdbcTemplate : DEBUG
20+ # 业务包日志级别
2221 com.phantoms.phantomsbackend : DEBUG
2322 # 数据库日志
24- springfox : DEBUG
25- org.hibernate.SQL : DEBUG
26- org.hibernate.type.descriptor.sql.BasicBinder : TRACE
27- org.postgresql : DEBUG
23+ org.springframework.jdbc.core.JdbcTemplate : WARN
24+ org.hibernate.SQL : WARN
25+ org.hibernate.type.descriptor.sql.BasicBinder : WARN
26+ org.postgresql : WARN
27+ com.zaxxer.hikari : WARN
28+ # 其他框架日志
29+ springfox : WARN
2830
2931spring :
3032 # 应用名称[citation:4]
@@ -79,7 +81,7 @@ spring:
7981 database-platform : org.hibernate.dialect.PostgreSQLDialect
8082 hibernate :
8183 ddl-auto : validate
82- show-sql : true
84+ show-sql : false
8385
8486 # E-mail (QQ 邮箱配置)
8587 mail :
You can’t perform that action at this time.
0 commit comments