« Back to Systemd: Frequently Asked Questions

How to see new log entries automatically with journalctl

This article has last been updated at .

How to see new log entries automatically with journalctl?

Use the journalctl command and add the '--follow' option to see new log entries when they are added to the journal.

journalctl --follow

The journalctl command can show continuously new log entries with the --follow option. When new entries are added to the journal, they are automatically shown.

Usage

The follow option is a great option to continuously monitor a particular unit.

journalctl --follow --unit=nginx.service

Without providing a unit, all system events will be shown and followed.

Learn more about journalctl

This article uses the journalctl command to achieve its tasks. For this popular tool there is a cheat sheet available!

» Mastering the tool: journalctl

journalctl

Other questions related to Systemd

Feedback

Small picture of Michael Boelen

This article has been written by our Linux security expert Michael Boelen. With focus on creating high-quality articles and relevant examples, he wants to improve the field of Linux security. No more web full of copy-pasted blog posts.

Discovered outdated information or have a question? Share your thoughts. Thanks for your contribution!

Mastodon icon

Related articles

Like to learn more? Here is a list of articles within the same category or having similar tags.