breun / log4j-off

A project to show a possible bug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This demo project shows the unexpected behavior of setting a log level to OFF and messages still getting logged.

Usage:

mvn clean compile exec:java -Dexec.mainClass="nl.breun.Log4jOff"

The output will contain two log messages like these:

INFO  - Foo
OFF   - Foo

I did not expect a message to get logged at level OFF. I expected that second message to not get logged.

About

A project to show a possible bug


Languages

Language:Java 100.0%