[systemd-devel] Globally overriding stdout/stderr for all units for debugging?
Lennart Poettering
lennart at poettering.net
Tue Nov 23 10:02:39 PST 2010
On Tue, 23.11.10 09:30, Andrey Borzenkov (arvidjaar at gmail.com) 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?
Definitely. In fact, we should probably set this to "syslog" by
default. I have now added this to the TODO list.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list