Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The pattern parameter is used to specify which parts of the request/response needs to be logged. In the above sample, xxx stands for the header name we need to log. Here %{xxx}i stands for the request headers and  %{xxx}o stands for the response headers.

Table of Contents

Example 1: Logging request headers

...