replace ResourceRelationship with pattern event_type lookup for non-production logging