No, we have not run into this. If people are using the jdk logging its
just separate from the jboss logging. I would think we would just want
to use a jdk log manager to bridge to the jboss logger. Or have a jboss
Handler that bridges to our log config. Not sure if that is any
different than using a Filter. Just need to try these out to see which
integrates best.


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stan
Silvert
        Sent: Thursday, May 11, 2006 3:06 PM
        To: jboss-development@lists.sourceforge.net
        Subject: [JBoss-dev] Thirdparty using java.util.logging
        
        

        I've re-subscribed.  Let's give this another try:

         

        The JSF RI uses java.util.logging instead of Log4J or commons
logging.  The way I'm thinking I can deal with this is:

         

        1)       If JBoss is already set to use java.util.logging, do
nothing.

        2)       Otherwise, intercept log messages to javax.faces and
com.sun.faces using a java.util.logging.Filter.

        3)       Convert these messages to Log4J and re-log to the
appropriate Log4J Logger.

        4)       Return false in the filter so this won't be logged
using java.util.logging.

         

        I assume we've run into this before.  Is there a better
solution?  If not, is there some common code I can steal?

         

        Also, is there any plan to upgrade log4j in JBoss 5?  Right now
it looks like we are on 1.2.8 and 1.2.13 is now available.

         

        Stan Silvert

        JBoss, Inc.

        [EMAIL PROTECTED]

        callto://stansilvert

         



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to