Log4j: How filter out messages from a specific class?
- by BestPractices
I want to configure my log4j logging to not log messages that are 1) coming from a specific class and 2) of a specific severity i.e. WARN.
Can someone provide sample configuration/code on how to do this?