How to see new log entries automatically with journalctl
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 --followThe 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.