systemd and journalctl · Logs with journalctl
Follow a service's logs
Stream new log entries as they arrive.
journalctl -u nginx -f
Official systemd and journalctl documentation
More logs with journalctl commands
- Show a service's logs
- Show recent entries only
- Show errors from this boot
- Show the previous boot's logs
- Show kernel messages
- Show the latest lines
All logs with journalctl commands · systemd and journalctl cheatsheet