0

I have read all document,

if it accept   
    ThresholdFilter

rt, I read the document, no such LevelMatchFilter

bryantism
  • 167
  • 9
  • You mean, print INFO only but not the higher levels (such as WARN)? Not out of the box, no, you'd need to write your own code (probably an appender). Maybe you can get close enough by limiting to a specific logger? Or just filter out / ignore the higher levels at whatever consumes the log file. – Thilo Sep 22 '16 at 10:12
  • Log4j2 has no suchLevelMatchFilter.... , log4j does have it.... – bryantism Sep 27 '16 at 07:38
  • Potential redundant question. Here is ans answer: http://stackoverflow.com/questions/24695133/log4j2-filter-particular-level-in-apender – ThierryC Sep 27 '16 at 08:09

0 Answers0