Final part of splitting logs. Added option to enable; off by default.