I'm using SpringBoot (spring-boot-starter-web 1.5.16.RELEASE) and hibernate-validator 6.0.11.Final in my REST service.
DTO objects annotated with proper validation constrains (UPDATE: I'm using @Valid annotation on controller's parameter) and validation works as expected.
I'd like to have all validation errors (that were send to the clients) logged in log files.
I assume there should be some simple way to enable that kind of messages (e.g. flag in app properties) but I can't find it anywhere.
Any suggestions would be appreciated.