Turn on autoflushing for the logger