On Wed, 2011-08-03 at 02:46 -0700, T.C. Hollingsworth wrote:
Edit /etc/systemd/system.conf and set
"DefaultStandardOutput" to one
of "syslog", "kmsg", "kmsg+console", or
"syslog+console". That will
redirect stdout from it's default destination of /dev/null to the
place you set. You may set "DefaultStandardError" too if you wish,
but by default it goes to the same place as DefaultStandardOutput.
(Note that you can also do this per-service by editing it's unit file
[see "man systemd.exec" for details] or at boot-time via the kernel
argument "systemd.default_standard_output".)
Tip of the day!
Definitely DefaultStandardError should point to syslog+console by
default.
--
Hiisi