Do not overwrite log file, and add newline at the end of log string.