Spring Boot turn off logging for a package

Viewed 5680

I prefer to throw my own exceptions for business logic. For example I have a class com.mine.exception.DuplicateClientException. Is there some configuration where I can turn off printing the stack trace for package com.mine.exception ?

Something like:

logging.level.com.mine.exception=OFF
1 Answers
Related