]
Ingo Weiss reassigned JBLOGGING-131:
------------------------------------
Assignee: James Perkins (was: Ingo Weiss)
Logger.getEffectiveLevel() not working correctly
------------------------------------------------
Key: JBLOGGING-131
URL:
https://issues.jboss.org/browse/JBLOGGING-131
Project: JBoss Logging
Issue Type: Bug
Components: jboss-logging-log4j
Reporter: Ingo Weiss
Assignee: James Perkins
Priority: Minor
The Logger.getEffectiveLevel() method doesn't seem to return correct values.
In a test, we set the log level for a category to TRACE and the method sometimes returns
TRACE and sometimes returns DEBUG. Whichever value is returns stays the same until the
next time the application is deployed at which point it may change.
The same behavior seems to exist as well on EAP 7.0 and EAP 6.4.