removing most logging