Interface RestClientsConfig.RestClientLoggingConfig

Enclosing interface:
RestClientsConfig

public static interface RestClientsConfig.RestClientLoggingConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    How many characters of the body should be logged.
    Scope of logging for the client.
  • 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 applicable to reactive REST clients only.
    • 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 applicable to reactive REST clients only.