On 30/11/2024 03:29, Greg Wooledge wrote:
Now, you might ask why the systemd journal is being preferred and kept
over human-readable log files.  I don't think anyone on debian-user
knows the answer to this.

<https://0pointer.de/blog/projects/systemctl-journal.html>
systemd for Administrators, Part XIII
Posted on Fr 18 Mai 2012
Log and Service Status

The original reason we started to work on the journal was one specific
feature idea, that to the outsider might appear simple but without the
journal is difficult and inefficient to implement: along with the output
of systemctl status we wanted to show the last 10 log messages of the
daemon.

I could not recall where I saw a more verbose description of design ideas. Perhaps faster selection of records within a given time range.

Journald&journalctl have their shortcomings, but often they are more convenient during debugging: more precise timestamps, filtering by all processes from a service cgroup.

Reply via email to