The story
From logger (“(dialectal) heavy wooden block secured to a horse's leg to prevent it from straying”) + head. Logger was apparently coined because its sound connotes a clumsy, heavy object; compare log (“trunk of a dead tree; bulky piece of wood”).
Etymology from Wiktionary, CC BY-SA 4.0.