bodyFilter

Configures the filter applied to the response body when logging.

The bodyFilter property specifies the logic used to selectively log, modify, or exclude the body of HTTP responses. It uses a LogBodyFilter implementation to determine how the response body is included in the logs. By default, the filter is set to BinaryLogBodyFilter.

The associated filter can be customized to handle specific logging requirements such as hiding sensitive data, truncating long responses, or modifying the format of the logged body content.

Report a problem