Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log the validation error in logs In error Level #37

Closed
stevehu opened this issue May 8, 2018 · 1 comment
Closed

Log the validation error in logs In error Level #37

stevehu opened this issue May 8, 2018 · 1 comment

Comments

@stevehu
Copy link
Contributor

stevehu commented May 8, 2018

Otherwise we need to rely on the report from client.

@stevehu
Copy link
Contributor Author

stevehu commented May 16, 2018

Given that the number of validation errors will be reported by the metrics, this logging is optional. In most of the cases, the client should be responsible for logging validation errors. If the service is called by a legacy client which doesn't do any logging, we can enable the logError flag in validator.yml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant