Class RestClientLoggingConfig

java.lang.Object
io.quarkus.restclient.config.RestClientLoggingConfig

public class RestClientLoggingConfig extends Object
  • Field Details

    • scope

      @ConfigItem public 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 applicable to reactive REST clients only.
    • bodyLimit

      @ConfigItem(defaultValue="100") public 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 applicable to reactive REST clients only.

  • Constructor Details

    • RestClientLoggingConfig

      public RestClientLoggingConfig()