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

 

Reply via email to