日志配置修改
This commit is contained in:
@@ -17,7 +17,5 @@ community:
|
||||
token: ${GITEA_TOKEN}
|
||||
|
||||
logging:
|
||||
file:
|
||||
path: ${LOG_PATH:logs/prod}
|
||||
level:
|
||||
com.linkerbot.community: INFO
|
||||
|
||||
@@ -17,7 +17,5 @@ community:
|
||||
token: ${GITEA_TOKEN:}
|
||||
|
||||
logging:
|
||||
file:
|
||||
path: ${LOG_PATH:logs/test}
|
||||
level:
|
||||
com.linkerbot.community: DEBUG
|
||||
|
||||
@@ -2,7 +2,7 @@ server:
|
||||
port: ${SERVER_PORT:${PORT:8993}}
|
||||
spring:
|
||||
application:
|
||||
name: community
|
||||
name: community-api
|
||||
profiles:
|
||||
default: test
|
||||
sql:
|
||||
@@ -37,9 +37,10 @@ springdoc:
|
||||
swagger-ui:
|
||||
path: /swagger-ui.html
|
||||
logging:
|
||||
file:
|
||||
path: ${LOG_PATH:logs}
|
||||
level:
|
||||
root: INFO
|
||||
org.springframework: INFO
|
||||
# 测试环境开启项目 DEBUG 时,不输出 SQL 参数或完整请求内容。
|
||||
# 测试环境开启项目 DEBUG 时,仍不输出 SQL 参数或完整请求内容。
|
||||
com.linkerbot.community.service.mapper: INFO
|
||||
org.springframework.web: INFO
|
||||
|
||||
Reference in New Issue
Block a user