Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Bug
-
2.11.1
-
None
-
None
Description
Yaml config of the form:
configuration: status: off
results in:
2019-07-23 16:06:15,778 main ERROR Invalid status level specified: false. Defaulting to ERROR.
and trying to turn off an ordinary logger:
- name: com.acme.noise
level: off
additivity: false
results in:
2019-07-23 16:18:29,534 main WARN Error while converting string [false] to type [class org.apache.logging.log4j.Level]. Using default value [null]. java.lang.IllegalArgumentException: Unknown level constant [FALSE].
Attachments
Issue Links
- relates to
-
LOG4J2-2540 Incomplete enumeration of logging levels
- Resolved