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/07cd929872c1cd6809e2e17085d703ea2eeb6ea0
https://github.com/sunwire/systemd/commit/07cd929872c1cd6809e2e17085d703ea2eeb6ea0.diff
https://github.com/sunwire/systemd/commit/07cd929872c1cd6809e2e17085d703ea2eeb6ea0.patch
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to