[Validator] add deprecation log (#12700)