>> 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 > >I didn't investigate details, but I suspect that losing the last parts >of logs could be caused by the fact that stdout is buffered by default >(and stderr is not). I don't know if the contents of the buffer residing >in the crashed process can be well recovered. Perhaps they have some >hack to force the flush externally, I don't know.
The real problem is not about crashes, it is about deliberate exit of a process with stdout and stderr flushing _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev