apache2 log file location ubuntu code example Example: log of apache ubuntu # default dir /var/log/apache2/