Hi, Yeah I addressed this with "%HM %HPO%HQ %HV" which looks right in my logs under some light testing, but I will check the pathq option also.
B. > On 7 Jun 2023, at 22:39, Lukas Tribus <[email protected]> wrote: > > Hello, > > > yes, H2 behaves very differently; due to protocol differences but also > due to other changes. In the beginning H2 was only implemented in the > frontend and every transaction was downgraded to HTTP/1.1 internally. > This was later changed to an internal generic "HTX" representation > that allowed to unify the protocol stack. > > > To return relative URIs form in the logs, I guess you could > reconstruct the string manually with pathq (untested): > \"%HM%[pathq]%HV\" as opposed to %r > > > pathq is a HTTP sample designed to do exactly this, always returning > the URI in a relative format: > > http://docs.haproxy.org/2.6/configuration.html#7.3.6-pathq > > > Not sure what %HU does, I assume it refers to the url not pathq. > > > > I agree that doc updates are needed at least in section "8.2.3. HTTP > log format" and "8.2.6. Custom log format". > > > > Lukas

