Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logs: Use journalctl -o with-unit for default logs
Before systemd was created, syslog was the dominant Unix logging system. Later, systemd introduced the journal whose output intentionally exactly matched that of syslog for compatibility. In systemd, the "unit" is the technical heart of things; yet the syslog output only includes the "syslog identifier" which might or might not look like the unit. For many units that just run shell script, the syslog identifier is just "bash" which is not useful. The `-o with-unit` is in RHEL8 and above; it's not in RHEL7. I don't know if it is a goal of this project to ship the latest releases on very old operating systems. If it is, we can try to do dynamic detection. Signed-off-by: Colin Walters <[email protected]>
- Loading branch information