journalctl is a command for viewing logs collected by systemd. The systemd-journald service is responsible for systemd’s log collection, and it retrieves messages from the kernel, systemd services, and other sources.
Document
Example
sudo journalctl --since YYYY-MM-DD | grep orphaned
sudo journalctl -fu sshd
sudo journalctl -p warning -u sshd