Fixed missing newline in log file