spring boot admin 2.2.3 查看日志 报404

图片说明

我的版本是spirngboot admin 2.2.3,结合了eureka使用,

client的logback.xml里,日志路径为logs/output.log
图片说明

admin-server的配置:

spring:
  application:
    name: admin-server

server:
  port: 8080
eureka:
  client:
    registryFetchIntervalSeconds: 5
    service-url:
      defaultZone: http://localhost:8761/eureka/
  instance:
    leaseRenewalIntervalInSeconds: 10
    health-check-url-path: /actuator/health

admin-client的配置:

spring:
  application:
    name: admin-customer1
server:
  port: 8081
eureka:
  client:
    registryFetchIntervalSeconds: 5
    service-url:
      defaultZone: http://localhost:8761/eureka/
  instance:
    leaseRenewalIntervalInSeconds: 10
    health-check-url-path: /actuator/health

management:
  endpoints:
    web:
      exposure:
        include: "*"
  endpoint:
    health:
      show-details: ALWAYS

logging:
  file:
    path: logs/output.log
  pattern:
    file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx"

eureka-server的配置:

spring:
  application:
    name: eureka-server
server:
  port: 8761
eureka:
  client:
    service-url:
      defaultZone: http://localhost:8761/eureka
    register-with-eureka: false
    fetch-registry: false

请大佬们帮我看看,是哪里配置没配好,导致查看不了日志。其他监控信息都是能看到的。

file.name  不是 file.path

可以试下logging.file.name

为什么我两个都加了也不好使,还是404

2.2.3有需要单独配置什么吗,logging.file配置了 日志也生成了,spring boot admin查看的时候还是报404