Spring Boot management.trace.include configuration by example

时间:2018-03-25 20:42:45

标签: spring-boot application.properties

Spring Boot here. What are the possible values that one can specify for the management.trace.include property in application.properties, what are this property's default values, and where is all of this documented (pro tip: it's not!)?

2 个答案:

答案 0 :(得分:0)

Twas:org.springframework.boot.actuate.trace.TraceProperties.Include

答案 1 :(得分:0)

对于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