[Nix-dev] Will there be a systemd replacement at any time inthe future?

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Sep 2 11:36:00 CEST 2014


Hi,

On 01/09/14 23:26, Michael Raskin wrote:

> Also, could you submit a patch that makes systemd log stderr of services
> reliably (stdout too)? We had it with Upstart, but with Systemd it got
> lost and I am not sure how to make it automatic for all services.

It's funny, for me it's the opposite - logging with systemd is sooo much better
than with Upstart. (IIRC, the logging of stderr of Upstart jobs was a
NixOS-specific hack, and other than that there was no logging support.)

However, there is a long-standing issue with stdout/stderr logging: if the
process dies before systemd has had a change to process its log message, then
systemd may not be able to figure out the unit corresponding to the message, so
it may be lost (or not attributed to the unit). See

  http://lists.freedesktop.org/archives/systemd-devel/2012-June/005590.html

Also note that the journal has rate-limiting that may cause messages to be dropped.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list