]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: make sure that $JOURNAL_STREAM prefers stderr over stdout information (#6824)
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Sep 2017 06:26:38 +0000 (08:26 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 15 Sep 2017 06:26:38 +0000 (08:26 +0200)
commitab2116b140a3a087de53b5635cef811b0a3ffdc4
tree70c3fca26d1dd8d4d58ed9a1d6e6331fcf90c7cc
parent2e914ef4333ef3278a1dd5556c8c2f30aab81b6c
core: make sure that $JOURNAL_STREAM prefers stderr over stdout information (#6824)

If two separate log streams are connected to stdout and stderr, let's
make sure $JOURNAL_STREAM points to the latter, as that's the preferred
log destination, and the environment variable has been created in order
to permit services to automatically upgrade from stderr based logging to
native journal logging.

Also, document this behaviour.

Fixes: #6800
man/systemd.exec.xml
src/core/execute.c