Re: use unit names in systemd output by default?

2021-07-02 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jun 29, 2021 at 09:12:51AM -, Paweł Marciniak wrote: > > 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. > > Ok. Thanks, but you meant

Re: use unit names in systemd output by default?

2021-06-29 Thread Paweł Marciniak
> 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. Ok. Thanks, but you meant https://github.com/systemd/systemd/pull/20058 :)

Re: use unit names in systemd output by default?

2021-06-29 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jun 26, 2021 at 04:39:16PM -, 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 >

Re: use unit names in systemd output by default?

2021-06-28 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jun 28, 2021 at 10:31:09AM -, Paweł Marciniak wrote: > > What log analysis tools is this change likely to break? > If you set StatusUnitFormat to "name" or "description", then nothing will > change and it will work as always. Also, you can't base "analysis tools" on the Description

Re: use unit names in systemd output by default?

2021-06-28 Thread Paweł Marciniak
> What log analysis tools is this change likely to break? If you set StatusUnitFormat to "name" or "description", then nothing will change and it will work as always. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email

Re: use unit names in systemd output by default?

2021-06-28 Thread Nico Kadel-Garcia
What log analysis tools is this change likely to break? Not breaking tools that already exist in userland is fairly important to API changes. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to

Re: use unit names in systemd output by default?

2021-06-26 Thread Paweł Marciniak
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

Re: use unit names in systemd output by default?

2021-06-25 Thread Florian Weimer
* Colin Walters: > On Fri, Jun 25, 2021, at 6:21 AM, Zbigniew Jędrzejewski-Szmek wrote: >> Hi, >> >> systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= >> / -Dstatus-unit-format-default= option to use unit names instead of the >> Description in messages on the kernel console

Re: use unit names in systemd output by default?

2021-06-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 25, 2021 at 12:52:48PM -0400, Colin Walters wrote: > > > On Fri, Jun 25, 2021, at 6:21 AM, Zbigniew Jędrzejewski-Szmek wrote: > > Hi, > > > > systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= > > / -Dstatus-unit-format-default= option to use unit names instead of

Re: use unit names in systemd output by default?

2021-06-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 25, 2021 at 05:23:08PM +0100, Daniel P. Berrangé wrote: > On Fri, Jun 25, 2021 at 10:21:05AM +, Zbigniew Jędrzejewski-Szmek wrote: > > Hi, > > > > systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= > > / -Dstatus-unit-format-default= option to use unit names

Re: use unit names in systemd output by default?

2021-06-25 Thread Colin Walters
On Fri, Jun 25, 2021, at 6:21 AM, Zbigniew Jędrzejewski-Szmek wrote: > Hi, > > systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= > / -Dstatus-unit-format-default= option to use unit names instead of the > Description in messages on the kernel console and in logs: I meant to

Re: use unit names in systemd output by default?

2021-06-25 Thread Aleksandra Fedorova
Hi, On Fri, Jun 25, 2021 at 12:21 PM Zbigniew Jędrzejewski-Szmek wrote: > > Hi, > > systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= > / -Dstatus-unit-format-default= option to use unit names instead of the > Description in messages on the kernel console and in logs: > > -

Re: use unit names in systemd output by default?

2021-06-25 Thread Daniel P . Berrangé
On Fri, Jun 25, 2021 at 10:21:05AM +, Zbigniew Jędrzejewski-Szmek wrote: > Hi, > > systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= > / -Dstatus-unit-format-default= option to use unit names instead of the > Description in messages on the kernel console and in logs: > >

Re: use unit names in systemd output by default?

2021-06-25 Thread Ian Pilcher
On 6/25/21 7:19 AM, Neal Gompa wrote: I personally prefer the description myself, actually. Many unit names are more meaningless than the descriptions. One point ... It's far easier to get the description from the unit name than vice versa. --

Re: use unit names in systemd output by default?

2021-06-25 Thread Neal Gompa
On Fri, Jun 25, 2021 at 6:21 AM Zbigniew Jędrzejewski-Szmek wrote: > > Hi, > > systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= > / -Dstatus-unit-format-default= option to use unit names instead of the > Description in messages on the kernel console and in logs: > > - Jun 20

Re: use unit names in systemd output by default?

2021-06-25 Thread Ewoud Kohl van Wijngaarden
On Fri, Jun 25, 2021 at 10:21:05AM +, Zbigniew Jędrzejewski-Szmek wrote: systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= / -Dstatus-unit-format-default= option to use unit names instead of the Description in messages on the kernel console and in logs: - Jun 20 22:04:48

Re: use unit names in systemd output by default?

2021-06-25 Thread Benjamin Berg
Hi, On Fri, 2021-06-25 at 10:21 +, Zbigniew Jędrzejewski-Szmek wrote: > - Jun 20 22:04:48 krowka systemd[1]: Started Rule-based Manager for Device > Events and Files. > + Jun 20 22:04:48 krowka systemd[1]: Started systemd-udevd.service. > > [SNIP] > > Would people be opposed to making this

use unit names in systemd output by default?

2021-06-25 Thread Zbigniew Jędrzejewski-Szmek
Hi, systemd has systemd.status_unit_format= / [Manager].StatusUnitFormat= / -Dstatus-unit-format-default= option to use unit names instead of the Description in messages on the kernel console and in logs: - Jun 20 22:04:48 krowka systemd[1]: Started Rule-based Manager for Device Events and