Re: Why are the priorities of stdout and stderr the same

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

 



Hi, At least for simple cases you can use systemd-cat which allows
setting different priorities for stdout and stderr. It even explicitly
states that doing so will lose the ordering guarantees which are only
possible when attaching stdout and stderr to the same fd (as Lennart
said).

Greetings
Nils

On Tue, Aug 29, 2023 at 2:10 PM Cecil Westerhof <cldwesterhof@xxxxxxxxx> wrote:
>
> Op di 29 aug 2023 om 11:58 schreef Lennart Poettering <lennart@xxxxxxxxxxxxxx>:
>>
>> On Di, 29.08.23 11:56, Cecil Westerhof (cldwesterhof@xxxxxxxxx) wrote:
>> > > I agree with that usecase, and we have discussed this many times
>> > > before, but we couldn#t come up with a nice way to make everything
>> > > work: proper ordering and distintion of stdout/stderr.
>> >
>> > I agree that the default behaviour is the right one. But why not give
>> > people the possibility to override this behaviour? When they override it
>> > themselves, they cannot complain that they lose ordering.
>>
>> We are generally conservative when providing mechanisms that are too
>> glaringly broken. Even if they are opt-in.
>
>
> OK. Thanks for your patience.
>
> --
> Cecil Westerhof




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux