Creatures in the log don’t have to attack, but nonattacking creatures don’t affect how the attacking logmates can be blocked. Notably, not attacking with one creature in the log doesn’t make the others automatically unblockable.