fix log ownership