Allow empty string in logFile for backward compatibility.