Log4j: How filter out messages from a specific class?

Posted by BestPractices on Stack Overflow See other posts from Stack Overflow or by BestPractices
Published on 2010-03-18T21:32:41Z Indexed on 2010/03/18 21:51 UTC
Read the original article Hit count: 204

Filed under:

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?

© Stack Overflow or respective owner

Related posts about log4j