Is it possible to log only one level messages with Log4J

Posted by Ravi on Stack Overflow See other posts from Stack Overflow or by Ravi
Published on 2010-05-04T07:03:18Z Indexed on 2010/05/04 7:08 UTC
Read the original article Hit count: 229

Filed under:
|
|

If I set the log level to DEBUG, All messages with log level >= DEBUG will be logged/printed. But can I set log level to only DEBUG, such that messages with log level only with DEBUG will be printed. Or can give a range like print all messages whose log level is >=DEBUG but < ERROR?

© Stack Overflow or respective owner

Related posts about log4j

Related posts about java