bneradt opened a new pull request, #13109:
URL: https://github.com/apache/trafficserver/pull/13109
Allow custom log formats to fall back between header fields with `??` so
configs can log a secondary header when the primary one is absent. This keeps
the feature in the existing `%<...>` syntax and preserves the current
distinction between missing and empty values.
This also:
- Allows overriding the default static fallback from `-` to some
user-specified quoted string literal.
- Adds support for a final non-header log field (e.g., chi, cqup) as the
fallback term, letting users write expressions like %<{x-remote-ip}cqh??chi>.
(cherry picked from commit c478245dfb6ead66186c2b413371f6ea4cda4d3d)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]