Interface RestClientsConfig.RestClientLoggingConfig

Enclosing interface:
RestClientsConfig

public static interface RestClientsConfig.RestClientLoggingConfig
  • Method Details

    • scope

      Optional<String> scope()
      Scope of logging for the client.
      WARNING: beware of logging sensitive data
      The possible values are:
      • request-response - enables logging request and responses, including redirect responses
      • all - enables logging requests and responses and lower-level logging
      • none - no additional logging
      This property is not applicable to the Quarkus RESTEasy client (provided by the quarkus-resteasy-client dependency).
    • bodyLimit

      @WithDefault("100") Integer bodyLimit()
      How many characters of the body should be logged. Message body can be large and can easily pollute the logs.

      By default, set to 100.

      This property is not applicable to the Quarkus RESTEasy client (provided by the quarkus-resteasy-client dependency).

    • maskedHeaders

      Optional<Set<String>> maskedHeaders()
      Which request and response headers values to mask in logs.

      The value of any matching header will be replaced with "****". The header name itself remains visible. E.g. Authorization=****

      This property is not applicable to the Quarkus RESTEasy client (provided by the quarkus-resteasy-client dependency).