[systemd-devel] Globally overriding stdout/stderr for all units for debugging?

Tomasz Torcz tomek at pipebreaker.pl
Mon Nov 22 22:32:09 PST 2010


On Tue, Nov 23, 2010 at 09:30:48AM +0300, Andrey Borzenkov wrote:
> Setting systemd.log_target affects only output made by systemd itself;
> units still continue to use whatever was defined in unit files. To
> debug unit activation problems it would be helpful to redirect output;
> but for auto-generated units (like mounts, swaps, etc) it is not even
> possible as there is no unit file to edit.
> 
> Would global option, something like systemd.unit_{stdout,stderr}=kmsg,
> make sense?

  Certainly!  It would tremendously help debugging.

-- 
Tomasz Torcz                                                       72->|   80->|
xmpp: zdzichubg at chrome.pl                                          72->|   80->|



More information about the systemd-devel mailing list