httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Rob Hartill)
Subject Re: Feature request
Date Sun, 22 Dec 1996 04:34:35 GMT
Brian Behlendorf wrote:

>Second: you can conditionalize when to log a variable:
>  %400,501{User-agent}i
>only logs the user-agent header on a 400 or 501 response.  That should be close

close but no cigar I think. This approach leaves line in the logfile
with no info or incomplete info when there isn't an error at all. That's
what I suggested to this person before being shown that CustomLog doesn't
work as well as an error_log replacement. Hence my suggestion to make
it log based on the status too.

View raw message