This is what my static config looks like.
log:
level: INFO
format: json
accessLog:
format: json
fields:
defaultMode: drop
names:
RequestPort: keep
But when I check the logs, I see this.
"RequestPort":"-"
I would except this to be something like "RequestPort":"443"
. But, maybe I'm misunderstanding the feature.
I tried with curl like this, just in case it made a difference, but it didn't. RequestPort
is still -
.
curl https://example.com:443