forwarder icon indicating copy to clipboard operation
forwarder copied to clipboard

Add configurable log format

Open mmatczuk opened this issue 1 year ago • 2 comments

This may need some more research but I'd like to suggest for the one liner we allow users to provide a text template that would get both Request and Response as parameters and maybe the extra info too.

One thing to note is that this type of logging does not work for connect requests, and we need to do something about it.

mmatczuk avatar Mar 23 '23 09:03 mmatczuk

Interestingly nor Caddy nor Traffic support that feature. It is common in Envoy and other proxies to be able to do that. I think the main idea behind it is to be able to log a tracking cookie typically a request header.

mmatczuk avatar Mar 23 '23 09:03 mmatczuk

Out of scope of 1.0.

mmatczuk avatar Mar 23 '23 12:03 mmatczuk