You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jeff AA <ap...@aquabolt.com> on 2003/06/19 12:35:41 UTC
[users@httpd] Apache Access Logs - disable logging of Status 304 NOT MODIFIED messages?
Folks,
I have the following httpd.conf settings to skip access logging of images:
----------
SetEnvIfNoCase Request_URI "\.gif$|\.jpg$\.png$|\.js$|\.css$" NOLOG
CustomLog /var/log/apache/mysite-access.log combined env=!NOLOG
----------
which all works well and dandy!
However, I still get lots of log messages like this:
----------
<IP> - - [datetime] "GET /image.jpg HTTP/1.1" 304 - "<referer>" "<browser>"
----------
Note that the images are being logged for status 304 - NOT MODIFIED
I have examined the documentation and FAQ, and googled for an answer, alas
to no avail - is it possible to disable access logging of status 304
messages?
Regards & thanks,
Jeff
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org