journalctl -u apache2 -f

Category: Web Servers & Proxies

journalctl -u apache2 -f

Follow Apache systemd logs live

-u filters the journal to the apache2 unit, and -f tails new entries as they appear, like tail -f on the error log but with timestamps and service metadata. Watch it in one terminal while reloading config or generating traffic. Stop with Ctrl+C.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.