Skip to content

View Logs for systemd Services

Joel Meador edited this page Jun 5, 2026 · 1 revision

We have several apps that use systemd as their starting mechanism. How do we view logs for these applications?

Applications that start via systemd log to STDOUT. To view these logs you can use journalctl.

If you're on the server you can view logs for the app by:

journalctl -u service

The above will output all of the logs for your application that journalctl is aware of.

You can follow along similar to tail -f with:

journalctl -u service -f

If you wish to follow logs on a remote server without SSHing in first you can use the above command as a command for ssh:

ssh deploy@server -C "journalctl -u service -f"

Home

TODO: can we recreate the tag system here roughly with sections about certain subjects?

Clone this wiki locally