moved logging of start out of state