Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
春季启动在这里。management.trace.include可以为 中的属性指定哪些可能的值,application.properties该属性的默认值是什么,以及所有这些记录在哪里(专业提示:不是!)?
management.trace.include
application.properties
对于 Spring Boot 2.1.0,它是:
org.springframework.boot.actuate.trace.http.Include
要查看其值,请参阅(枚举常量由 Spring 处理 - AUTHORIZATION_HEADER 变为授权标头):
https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/api/org/springframework/boot/actuate/trace/http/Include.html#enum.constant.summary
默认值可以在这里找到:
https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/reference/html/common-application-properties.html
是:org.springframework.boot.actuate.trace.TraceProperties.Include
org.springframework.boot.actuate.trace.TraceProperties.Include