From Old Norse 'log' (things laid down), from PIE *legh- (to lie) — rules placed like foundation stones.
The system of rules which a particular country or community recognizes as regulating the actions of its members.
From Old English 'lagu' (law, ordinance), from Old Norse 'lDzg' (laws, things laid down), plural of 'lag' (layer, proper place, measure), from Proto-Germanic *lagam (that which is laid down), from PIE *leƵ\CA- (to lie, to lay). The PIE root *leƵ\CA- produces Old English 'licgan' (to lie), German 'liegen' (to lie down), Latin 'lectus' (bed), and Greek 'lekhos' (bed, lair). The essential metaphor is law as something laid down — established, fixed
'Law,' 'lay,' 'lair,' and 'ledger' all come from PIE *legʰ- (to lie down). A law is 'something laid down.' To lay is to put something down. A lair is 'a lying-down place.' A ledger is 'something laid out' (for accounts). And an 'outlaw' is someone 'outside what is laid down' — beyond the law's protection.