stderr to file; but without buffering
Posted
by l.thee.a
on Stack Overflow
See other posts from Stack Overflow
or by l.thee.a
Published on 2010-05-27T08:26:18Z
Indexed on
2010/05/27
8:31 UTC
Read the original article
Hit count: 265
I am trying to isolate a nasty bug, which brings down my linux kernel. I am printing messages to stderr and stderr is redirected to a log file. Is there a way to disable buffering on the file access? When kernel hangs, I am losing the messages in the buffer.
© Stack Overflow or respective owner