journalctl
journalctl is a command-line utility provided by systemd for querying and displaying entries from the systemd journal. The journal aggregates log messages from the kernel, system services, and user applications into a centralized, structured log store. journalctl is designed to present both human-readable output and machine-readable data, with support for filtering and formatting.
The journal stores data in files under /var/log/journal when persistent logging is enabled, or in memory under
Key features and options include filtering by time, boot, unit, syslog identifier, or priority. Common filters
Typical usage includes viewing recent messages, tailing logs, inspecting a service’s logs, or exporting data for