Fixed log file close test to use the correct file.