lost and found ( for me ? )

Apache2 : how to disable access.log

Small tips.

just comment out “CustomLog ${APACHE_LOG_DIR}/access.log combined” and restart httpd.

Here’s an example of how to turn off access.log on apache2 which has been installed via apt-get ( Ubuntu 12.04 )

# egrep -i "access.log" /etc/apache2/sites-enabled/000-default
#       CustomLog ${APACHE_LOG_DIR}/access.log combined

# apache2ctl restart

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.