On Sat, Jun 26, 2021 at 04:39:16PM -0000, Paweł Marciniak wrote:
I've written a code heavily based on the above-mentioned PR:15957
but I've added some missing code (new option StatusUnitFormat=combined).
Now you can set StatusUnitFormat=combined in the configuration file or as a kernel
command line argument systemd.status_unit_format=combined
The output format is unit_name (unit description)
Live system examples:
combined:
Jun 26 18:24:19 fedora systemd[1]: Starting firewalld.service (firewalld - dynamic
firewall daemon)...
Jun 26 18:24:20 fedora systemd[1]: Started firewalld.service (firewalld - dynamic
firewall daemon).
name:
Jun 26 18:31:06 fedora systemd[1]: Starting firewalld.service...
Jun 26 18:31:06 fedora systemd[1]: Started firewalld.service.
description:
Jun 26 18:32:04 fedora systemd[1]: Starting firewalld - dynamic firewall daemon...
Jun 26 18:32:04 fedora systemd[1]: Started firewalld - dynamic firewall daemon.
The code:
https://github.com/sunwire/systemd/commit/07cd929872c1cd6809e2e17085d703e...
https://github.com/sunwire/systemd/commit/07cd929872c1cd6809e2e17085d703e...
https://github.com/sunwire/systemd/commit/07cd929872c1cd6809e2e17085d703e...
Thanks!
I submitted a pull request that mashes your patch, Colin Walter's
earlier pull reuqest, and some stuff I had worked on before into
https://github.com/systemd/systemd/pull/20047.
Zbyszek