early 13c., from O.Fr. loge
"arbor, covered walk" (Mod.Fr. "hut, cabin, lodge box at a theater"), from Frankish *laubja
"shelter" (cognate with O.H.G. louba
"porch, gallery," Ger. Laube
"bower, arbor"), likely originally "shelter of foliage," from the root of leaf
. "Hunter's cabin" sense is first recorded mid-15c. Sense of "local branch of a society" is first recorded 1680s, from 14c. logge
"workshop of masons." The verb is early 13c., "to stay in a lodge, to put someone up in a lodge," from O.Fr. logier
, from loge.
Sense of "to get a thing in the intended place, to make something stick" is from 1610s.