[systemd-devel] Why are the priorities of stdout and stderr the same

Nils Kattenbeck nilskemail at gmail.com
Tue Aug 29 21:05:28 UTC 2023


No, you can use systemd-cat to then invoke your script which applies
to every output of it.

Also, you can just use reply-all in gmail (or even set it as the
default in the settings) to have the correct behaviour of sending
mails also the the mailing list.

On Tue, Aug 29, 2023 at 10:25 PM Cecil Westerhof <cldwesterhof at gmail.com> wrote:
>
> Aargh, forgot again that gmail works differently when replying. :'-{
>
> Op di 29 aug 2023 om 21:07 schreef Cecil Westerhof <cldwesterhof at gmail.com>:
>>
>> Op di 29 aug 2023 om 19:47 schreef Nils Kattenbeck <nilskemail at gmail.com>:
>>>
>>> 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).
>>
>>
>> If I understand it correctly, that is on a statement basis, not for the complete script.
>
>
> --
> Cecil Westerhof


More information about the systemd-devel mailing list