This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Re: need log4j category to work in my webappmazz Oct 18, 2004 3:47 PM (in response to mazz)This is to make this entry complete (and hopefully help someone else avoid spending the time I did trying to solve this). It turns out I needed a commons-logging.properties file in my war's WEB-INF/classes directory. It has a single entry like this: org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger 
 I need this (I think) because the Unified classloader was picking up a commons-logging.properties file located in ebxmlrr-service.sar\ebxmlrr.war\WEB-INF\classes that looks like this:org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog 
 I am surprised alot of other people haven't run into this. I was unable to use commons logging in any WAR or SAR that I deploy without overriding the commons-logging.properties file. If I don't do this, my default logger ended up being NoOpLog which eats up all log messages, effectively making everything quiet.
 I would think this default behavior should be changed - or otherwise documented somewhere (I could not find the answer to this problem anywhere; maybe I missed it?)
- 
        2. Re: need log4j category to work in my webappp_nevilleuk Nov 4, 2004 9:54 AM (in response to mazz)Totally agree with you on documenting this one. Would love to see it in the Wiki. 
 Thanks - you saved me some time here!
- 
        3. Re: need log4j category to work in my webappstarksm64 Nov 4, 2004 12:31 PM (in response to mazz)Wikis are editable by anyone with a valid login so take a look at updating: 
 http://www.jboss.org/wiki/Wiki.jsp?page=Logging
- 
        4. Re: need log4j category to work in my webappmechatoni Nov 15, 2004 11:54 AM (in response to mazz)I had this same problem trying to debug jgroups in jboss 4.0.0, which didn't work till I removed the commons-logging.properties from the ebxmlrr folders. 
 Lot's of thanks - you saved me time here too!
 
     
     
    