Add newlines in logfile