collecting and storing log data // systemd companion
journalctl -u <unit> --since '-1d'
View the last day of logs for unit
journalctl -u <unit> -f
Tail (follow) the logs for unit
Useful default command line options:
-fexu <unit name>
-e
scrolls to the end and includes more log lines above
-x
includes useful context from systemd service restarts