[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: java.util.logging Bridge Component
david.lloyd@jboss.com
do-not-reply at jboss.com
Fri Dec 19 13:03:24 EST 2008
Two random thoughts:
One logging feature that we seem to be missing in JBossAS that could be desirable is the notion of segregated logging contexts. Looks like log4j has some support for this via RepositorySelector but I don't think we're really using it...? In any case, JDK logging doesn't have this notion; though it shouldn't be too tough to modify the LogManager to support this.
Also, there's currently a deficiency in the LogBridge design. It relies on a root JDK logger with a permissive log level like ALL, which would defeat the usual "isLoggable(level)" checks for things using JDK logging (JSF in particular would probably suffer from this). The solution would be to make sure that level changes are propagated between log4j and JDK logging, which might take some fiddling.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197716#4197716
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197716
More information about the jboss-dev-forums
mailing list