There's no difference with %[path] in fact this patch only exposes "path"
fetch as %HPR. It's only an usability matter. Usually I'm setting some sane
log-format in the defaults section (where I can't use %[path]) and only for
some critically important frontends I'm overwriting it to be more verbose.

wt., 1 gru 2020 o 04:12 Willy Tarreau <[email protected]> napisaƂ(a):

> Hi Maciej,
>
> On Mon, Nov 30, 2020 at 08:17:42PM +0100, Maciej Zdeb wrote:
> > Hi
> >
> > I have a small patch which adds a new log-format variable %HPR for
> logging
> > relative path. I hope it is clean and useful! :)
>
> What's the difference with %[path] ?  I'm trying to have a sample-fetch
> equivalent for all individual log tags so I'm a bit worried about seeing
> new ones being introduced if they can already be expressed differently.
>
> Thanks,
> Willy
>

Reply via email to