Linux non-blocking fifo (on demand logging)
Inspired by your question I’ve written a simple program that will let you do this: $ myprogram 2>&1 | ftee /tmp/mylog It behaves similarly to tee but clones the stdin to stdout and to a named pipe (a requirement for now) without blocking. This means that if you want to log this way it may … Read more