what is the difference between Threshold and LevelRangeFilter in log4j?
Answer / Santosh Kumar Chauhan
Threshold is a filter that allows or denies logging based on a minimum level of severity. LevelRangeFilter, on the other hand, allows or denies logging based on a specified range of levels (e.g., between WARN and ERROR).
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the system properties checked by log4j?
Inside logger component what are the different log levels?
what are the logging methods provided by logger class?
In log4j how can you log into the database?
How log4j file is defined?
what is the role of filter in log4j?
Explain whether log4j is a thread safe?
what is Log4j?
what is the difference between Threshold and LevelRangeFilter in log4j?
what are the two static methods for obtaining a logger object?
why do you get multiple copies of the message in log file sometime?
what are Appenders in Log4j?