Where Them
Logs App
WTLA-01

Apache HTTP Server

6 log locations · Windows, macOS, Linux

Apache Software Foundation

Where Apache HTTP Server keeps its logs

Apache HTTP Server logs to C:\xampp\apache\logs\error.log on Windows.

Apache HTTP Server logs to /var/log/apache2/ on macOS. 2 other macOS log locations are recorded below.

Apache HTTP Server logs to /var/log/apache2/access.log on Linux. 1 other Linux log location is recorded below.

Paths are printed exactly as Apache HTTP Server writes them. Environment variables like %LOCALAPPDATA% and $XDG_STATE_HOME are never expanded, so a path can be pasted straight into a shell. Where a path differs between installer types or shipping flavours, each one is racked as its own card below - why that happens.

Finding your way around Windows, macOS and Linux.

MAC

Apache HTTP Server - macOS

Apache Software Foundation
built-in Apache: access_log, error_log/var/log/apache2/
Homebrew, Apple Silicon/opt/homebrew/var/log/httpd/
Homebrew, Intel/usr/local/var/log/httpd/
LNX

Apache HTTP Server - Linux

Apache Software Foundation
Ubuntu/Debian (error.log alongside)/var/log/apache2/access.log
RHEL/CentOS/Fedora (error_log alongside)/var/log/httpd/access_log
Apache HTTP Server log file locations - Windows, macOS, Linux · Where Them Logs App