On Sun, 2009-03-22 at 19:37 +0100, Matthias Urlichs wrote: > In fact, I just had an better idea: don't use a named pipe. upstart > could simply read the stderr of all processes it starts, store that in a > ring buffer, and feed a logger process from that (via stdin). > > Replace any lines which the logger doesn't read fast enough (i.e. the > ring buffer overflows) with a "<skipped>" marker. Auto-kill+restart the > logger if it doesn't want to read its standard input for too long. > This is pretty much what I'm thinking of doing - with the added bonus that we can keep hold of this buffer and send it elsewhere on failure like cron does.
(email output to root when apached dies anyone?) Scott -- Have you ever, ever felt like this? Had strange things happen? Are you going round the twist?
signature.asc
Description: This is a digitally signed message part
-- upstart-devel mailing list upstart-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel