Hi Baptiste, On 31/07/2015 15:51, Baptiste wrote:
In 1.6, %[query] should do the trick.
That's what I thought also, but it doesn't, because the information is volatile and not available anymore at log time.
The result is a warning at init :'log-format' : sample fetch <query> may not be reliably used here because it needs 'HTTP request headers' which is not available here.
Such log format : log-format %HU\ %[path]\ %[query] will log the following line : /?querystring - - -- Cyril Bonté

