Re: use unit names in systemd output by default?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/07cd929872c1cd6809e2e17085d703ea2eeb6ea0
> https://github.com/sunwire/systemd/commit/07cd929872c1cd6809e2e17085d703ea2eeb6ea0.diff
> https://github.com/sunwire/systemd/commit/07cd929872c1cd6809e2e17085d703ea2eeb6ea0.patch

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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux