Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.14.1
-
None
Description
The documentation states that log events of level OFF should never be logged, whereas level ALL should always be logged.
See the last table in section "LoggerConfig" here: https://logging.apache.org/log4j/2.0/manual/architecture.html
In fact the opposite is the case.
The following statement in combination with the default configuration leads to a log entry.
LogManager.getLogger().log(Level.OFF, "test");