From the least serious to the very one:
ALL < DEBUG < INFO < WARN < ERROR < FATAL < OFF
If you select one of them, log4j prints all messages of this type and heavier type.
Objectives:
ALL: prints all messages *DEBUG: debugging messagesINFO: Information that is not a problem.WARN: not an error, but something that may cause a future error.ERROR: something went wrong, the problem the application is dealing with, the application may be stopped or not, it is usually necessary to reportFATAL: error causing the application to crashOFF: does not print messages *
(*) ; all(msg) off(msg), error(msg) debug(msg).
ALL DEBUG, INFO WARN.