Home

Systemd Log Output

By Joel Dare - Written October 18, 2022

You can use the following command to watch log output from services that are running through systemd and logging to the journal. You would typically start a systemd service with a command like service example start.

Here’s the command to show recent log output and then continue following (-f) that output.

journalctl -f

I use this to see the debug logs from my Caddy Web Server, amoung other things.

It may also be useful to press Command-K on Mac to clear the terminal window.

Build your next site in pure HTML and CSS

Want to build your next site in pure HTML and CSS? Join the free Five-Day Neat Starter Email Course and build a lean, production-ready page before Friday.

Email Me the Crash Course


JoelDare.com © Dare Companies Dotcom LLC

Terms - Privacy