Full Idea
The exploration of logic means the exploration of everything that is subject to law. And outside logic everything is accidental.
Gist of Idea
Logic concerns everything that is subject to law; the rest is accident
Source
Ludwig Wittgenstein (Tractatus Logico-Philosophicus [1921], 6.3)
Book Reference
Wittgenstein,Ludwig: 'Tractatus Logico-Philosophicus (Pears)', ed/tr. Pears,D. /McGuinness,B. [RKP 1961], p.67
A Reaction
Why should laws be logical? Legislatures can pass whimsical laws. Does he mean that the laws of nature are logically necessary? He can't just mean logical laws.
Related Idea
Idea 9442 The only necessity is logical necessity [Wittgenstein]