removing remaining references to logerr