AccessLog configuration: log requests depending upon HTTP STATUS code?

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

 



Folks;

being into trying to extract meaningful information off an apache 2.2
access.log / error.log, I wonder whether there is a straightforward way here
of setting up logging so that only requests resulting in an HTTP STATE ==
40x or 5xx will be logged. Looking at access.log I see that the information
(state = "200" in most cases which seems good :) ) is generally there, but
so far I failed figuring out how to exclude unwanted logging output (i.e.
any requests ending in a state 200 or 30x). Playing with log level settings
in apache2.conf doesn't seem to do the trick. Can any enlightened soul help
me through this? Will SetEnvIf do what I want here?

TIA and all the best,
Kristian


---------------------------------------------------------------------
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