August 10, 2020

How to View Log Entries Using Systemd

Until very recently I was lucky enough to have real log files, but now I have to use systemd’s way to view logs. show all log entries journalctl show nginx’ log entries journalctl -u nginx directly jump to the latest entries journalctl -e -u nginx