[Validator] add deprecation log (#12665)