0 votes
in Apache Log4j by
Mention what is the difference between Threshold and LevelRangeFilter in log4j?

1 Answer

0 votes
by

Both Threshold and LevelRangeFilter does the same thing. However threshold should be faster. Filters enable you to implement your own logic, and you can also link them together if required. If you need a basic threshold functionality, then “threshold” function will be enough.

...