Fix in output to log file.