Flush log output if to STDOUT