Defines logfile