Menu

#284 Log4JLogger ignores all priorities lower than INFO

Release 3.0.2
open
nobody
None
5
2008-05-19
2008-05-19
Anonymous
No

Log4JLogger should override isEnabledFor (why is it final anyway?) and delegate to log4j logger.isEnabledFor(level) check, converting mx4j priority if necessary. Otherwise mx4j ignores all priorities lower than INFO (default mx4j priority) even if log4j is setup to log everything (e.g., trace).

Workaround: start up java with system property mx4j.log.priority=trace.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB