previous next TOC  
 
 
Selection Rule:
 
  • A logging request is said to be enabled if its level is higher than or equal to the level of its logger. Otherwise, the request is said to be disabled.

Reminder: A logger without an assigned level will inherit one from the hierarchy.




Basic Selection Rule

A log statement of level p in a logger with inherited level q, is enabled if p >= q.

This rule assumes that priorities are ordered as follows: DEBUG < INFO < WARN < ERROR < FATAL.

 

GET THE DOCS DIRECTLY FROM THE DEVELOPER
For up to date and detailed log4j documentation directly from the developer please consider The complete log4j manual.