whatis journald

journald (journalctl)

Also known as: systemd journal, journalctl

systemd's logging service, which collects kernel, service, and application logs in a structured binary journal queried with journalctl.

What Is journald (journalctl) in Linux?

journald captures everything services write to stdout and stderr, plus syslog and kernel messages, and tags each entry with the unit, PID, priority, and boot. That makes filtering precise: one unit, one boot, errors only, or the last ten minutes.

By default the journal may be stored only in memory; creating /var/log/journal makes it persistent. Size limits are set in /etc/systemd/journald.conf.

Example

journalctl -u nginx --since "1 hour ago" -p err
journalctl -b -1