>> defaults
>>       log     global
>>       log-format %ci:%cp\ [%t]\ %ft\ %b/%s\ 
>> h=%Th/i=%Ti/R=%TR/w=%Tw/c=%Tc/r=%Tr/d=%Td/a=%Ta/t=%Tt\ %ST\ %B\ %CC\ %CS\ 
>> %tsc\ %ac/%fc/%bc/%sc/%rc\ %sq/%bq\ %hr\ %hs\ %{+Q}r
>>       mode    http
>>       option  httplog
> 
> The issue is here, you are mixing "log-format" and "option httplog".
> At first you set your custom format, but "option httplog" will reset the 
> default one.
> Remove "option httplog" and it should work.

Right, it works :) Thank you!

The documentation does not say anything about the conflict between the two 
variables. And my feeling while reading it, is that the “log-format” wins 
against the "option httplog” even if they are in the same section.

Maybe we should emit a warning about the conflict as the log-format is silently 
ignored in this case or do not allow at all to have “option httplog” (or 
"option tcplog") with “log-format” in the same section. 
Any thought on this ?

-- 
de Lafond Guillaume


Reply via email to