reconfigure settings so toggling logging on happens in one spot only