How to stop graphql-spqr-spring-boot-starter from printing logs in case of exception?

243 views Asked by At

Could someone please help me on how to avoid printing stack trace in graphql in case exception happens (e.g. sending invalid id to find a record or creating a record without sending a mandatory field)?

I'm using graphql-spqr-spring-boot-starter and getting logs printed in case invalid data is sent. Below are the screenshots:

enter image description here

Eclipse console: enter image description here

Anyone's help will be much appreciated. Thanks!

0

There are 0 answers