cortex
cortex copied to clipboard
feat: Added support for logging of HTTP Headers
What this PR does:
Adds support for the addition of the contents of HTTP headers to logs.
Which issue(s) this PR fixes:
Fixes #4799
Checklist
- [x] Tests updated
- [x] Documentation added
- [x]
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]
@zspeaks can you also share an example how the actual log looks like?
Here's an example of what the logging looks like. Note: for the purposes of this example, I'm sending simulated requests with known headers and contents. In an actual running scenario, these additions to the logs would appear alongside the other information in the logs NOT on their own as they do here. With that said, here's examples for 1, 2 and 3 headers being included in the request.

Nice!!