txw/txw-sso/txw-sso-service-biz/src/main/resources/bootstrap.yml

16 lines
413 B
YAML

spring:
application:
name: txw-sso
profiles:
active: local
server:
port: 9301
servlet:
context-path: /sso
# 日志文件配置。注意,如果 logging.file.name 不放在 bootstrap.yaml 配置文件,而是放在 application.yaml 中,会导致出现 LOG_FILE_IS_UNDEFINED 文件
logging:
file:
name: ${user.dir}/logs/${spring.application.name}.log # 日志文件名,全路径