Fix typos in log file code