what is the difference between Threshold and LevelRangeFilter in log4j?



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

Post New Answer

More Apache Log4j Interview Questions

How log4j file is defined?

1 Answers  


what is the difference between Threshold and LevelRangeFilter in log4j?

1 Answers  


what is the command to write your logging information into a file?

1 Answers  


In log4j how can you log into the database?

1 Answers  


Explain whether log4j is a thread safe?

1 Answers  


why do you get multiple copies of the message in log file sometime?

1 Answers  


what is Log4j?

1 Answers  


what are the three principal components of Log4j?

1 Answers  


Explain whether a log output format can be customized?

1 Answers  


what are the two static methods for obtaining a logger object?

1 Answers  


what are the format characters used in log4j?

1 Answers  


what are the other support objects in Log4j?

1 Answers  


Categories