bootstrap.yaml 385 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
spring:
  application:
    name: infra-server

  profiles:
    active: local

server:
  port: 48082
10 11 12 13 14

# 日志文件配置。注意,如果 logging.file.name 不放在 bootstrap.yaml 配置文件,而是放在 application.yaml 中,会导致出现 LOG_FILE_IS_UNDEFINED 文件
logging:
  file:
    name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径