Flush stdout and add a timestamp when printing USR1-triggered status
Prints redirected to files are heavily cached, so we need to flush the stream if we want to be able to read the output in log files as soon as we return from signal handler.
Showing
Please register or sign in to comment