Class TracerConfiguration.TracerConfigurationBuilder
java.lang.Object
ch.admin.bag.covidcertificate.rest.tracing.TracerConfiguration.TracerConfigurationBuilder
- Enclosing class:
- TracerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) Name of the current application, to be added as Header.attributesWhitelist(List<String> attributesWhitelist) A list of request-attributes to log.build()fullResponseDetailsInMessage(boolean fullResponseDetailsInMessage) headerBlacklist(List<String> headerBlacklist) A list of headers that shall not be logged, e.g.headerMasked(List<String> headerMasked) A list of headers that must be masked, e.g.toString()uriFilterPattern(Pattern uriFilterPattern)
-
Method Details
-
headerBlacklist
A list of headers that shall not be logged, e.g. headers from CF All headers matching any of this prefixes is ignored from logging- Returns:
this.
-
headerMasked
A list of headers that must be masked, e.g. if they contain sensitive information All headers matching any of this prefixes is logged only as ***- Returns:
this.
-
attributesWhitelist
public TracerConfiguration.TracerConfigurationBuilder attributesWhitelist(List<String> attributesWhitelist) A list of request-attributes to log. All attributes matching any of this prefixes are logged- Returns:
this.
-
applicationName
Name of the current application, to be added as Header. By default ${spring.application.name}- Returns:
this.
-
uriFilterPattern
- Returns:
this.
-
fullResponseDetailsInMessage
public TracerConfiguration.TracerConfigurationBuilder fullResponseDetailsInMessage(boolean fullResponseDetailsInMessage) - Returns:
this.
-
build
-
toString
-