mp 服务可正常启动

This commit is contained in:
YunaiV
2023-07-27 23:11:06 +08:00
parent 9a18483482
commit 0ff2f9783d
19 changed files with 659 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
spring:
application:
name: mp-server
profiles:
active: local
server:
port: 48086
# 日志文件配置。注意,如果 logging.file.name 不放在 bootstrap.yaml 配置文件,而是放在 application.yaml 中,会导致出现 LOG_FILE_IS_UNDEFINED 文件
logging:
file:
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径