Replies: 1 comment
-
the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to enable headers and request body in linkerd-proxy HTTP log.
By default, LINKERD2_PROXY_LOG environmental variable in workload application linkerd-proxy container set as following, disabling headers and request body.
LINKERD2_PROXY_LOG: warn,linkerd=info,hickory=error,[{headers}]=off,[{request}]=off
I have tried to enable that by changing linkerd-config configmap.
Default parametes of linkerd-config configmap:
logHTTPHeaders: "off"
logLevel: warn,linkerd=info,hickory=error
Applied configmap parameters
logHTTPHeaders: "on"
logLevel: warn,linkerd=info,hickory=error
However, I have failed to loh headers and request body.
Is it possible to capture the requestbody and headers? What is the correct way to do that?
Beta Was this translation helpful? Give feedback.
All reactions