log resource type when checking