ensure the version constraint is met for new hostsfile in logger