-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
3.4.3.Final
-
None
When setting the log level to OFF the log level switches to DEBUG when using the Log4j 1.x LogManager in your project.
Looks like maybe it's simply Level.OFF entry is missing in the map here:
https://github.com/jboss-logging/log4j-jboss-logmanager/blob/49d37c34732ad060a7464dc4f571bdbde0a00a32/src/main/java/org/apache/log4j/JBossLevelMapping.java#L25
Already forked the project and will test this.
Maybe i can then provide a PR for this.
Here you are:
https://github.com/jboss-logging/log4j-jboss-logmanager/pull/32
This works in my tests. Hopefully no other side effects included.