Update logfile.c