Erased extra logfile function

Had an extra one...erased it.