Prevent (stop) Apache from logging specific AJAX / XmlHttpRequests?
snippet in htaccess

Prevent (stop) Apache from logging specific AJAX / XmlHttpRequests?

user9089

# Mark requests for the AJAX call
SetEnvIf Request_URI "^/myajaxscript\.php.*$" dontlog
SetEnvIf Request_URI "^/myotherajaxscript\.php$" dontlog
# Log what remains
CustomLog logs/access_log common env=!dontlog