Adds the logfile