Apache:
SetEnvIfNoCase Request_URI "\.(gif|jpe?g|png|htc|css|js|ico)$" skiplog
CustomLog "/var/log/httpd/access.log" combined env=!skiplogLighttpd:
$HTTP["url"] =~ "\.(gif|jpe?g|png|htc|css|js|ico)$" {
accesslog.filename = "/dev/null"
}
disable logging of images in access log
Submitted by sandip on Wed, 12/15/2010 - 17:15
Apache: SetEnvIfNoCase Request_URI "\.(gif|jpe?g|png|htc|css|js|ico)$" skiplogLighttpd: $HTTP["url"] =~ "\.(gif|jpe?g|png|htc|css|js|ico)$" {»
|
See AlsoUser loginRecent blog posts
Who's onlineThere are currently 0 users and 9 guests online.
|
disable logging in nginx
For nginx servers:
access_log off;