I’m searching for a way to log request headers on kong. can anyone help me on this.
we are using the below code to log the headers in our custom plugins.
ngx.log(ngx.ERR, “Authorization header”,header)
Hope this helps.
Found the simplest way : just create custom log format and add $http_custom_header_name