Re: Conditional Logging for HTTP Status Codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/08/07, Vincent Bray <noodlet@xxxxxxxxx> wrote:
> On 21/08/07, Brian Munroe <brian.e.munroe@xxxxxxxxx> wrote:
> > Just wanted to make sure I was reading the httpd documentation
> > correctly.  There is no way to use conditional logging to drop 304
> > HTTP status codes, right?
> >
> > Anyone have a solution they'd like to share?
>
> I can't think of one. I'd like to be corrected, but I'm not aware of
> any way to conditionally do anything based on the status code of a
> non-error response. You'd need to either hack up mod_log_config or add
> your own module.

And further, it's probably not worth it to do so as you can just
filter the logs during processing, or during the logging by using a
piped logger.

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux