Added parameter to ensure that log writes are always unbuffered