systemd and journalctl · Logs with journalctl
Show a service's logs
Show all log entries for a unit.
journalctl -u nginx
Official systemd and journalctl documentation
More logs with journalctl commands
- Follow 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