This commit is contained in:
yangshb
2024-03-05 11:39:57 +08:00
parent c9553fdd65
commit f6d1d354e6
1984 changed files with 175140 additions and 2 deletions
@@ -0,0 +1,14 @@
spring:
application:
name: system-server
profiles:
active: local
server:
port: 48081
# 日志文件配置。注意,如果 logging.file.name 不放在 bootstrap.yaml 配置文件,而是放在 application.yaml 中,会导致出现 LOG_FILE_IS_UNDEFINED 文件
logging:
file:
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径