Howto remove apache logs

    Delete all logs files

    Use the following command to remove all the log files inside your apache2 log.

    $sudo rm -rf /var/log/httpd/*
    

    Reload Apache

    You should reload it after deleting all files, or it`s empty.

    $sudo /etc/init.d/httpd restart
    

    Related articles

    comments powered by Disqus