I am trying to use commons-logging in my struts, as well as my ejb's, but I get a log4j error instead.
Here is the declaration/usage in my ejb: CreditApplicationBean: =========================== ... import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; ... private Log log = LogFactory.getLog( this.getClass() ); ... ... if( log.isInfoEnabled() ) { log.info( "=============================================" ); log.info( "Process CreditApplicationManager.conclude(...)" ); Here is my simplelog.properties: ======================== # Logging detail level, # Must be one of ("trace", "debug", "info", "warn", "error", or "fatal"). org.apache.commons.logging.simplelog.defaultlog=trace Here is my commons-logging.properties: ============================== org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog Here is the print of what happens: ========================= [INFO] CreditApplicationServicesDelegate - -============================================= log4j:WARN No appenders could be found for logger (com.wf.bd.ice.creditapplication.CreditApplicationManager_9j600a_Impl). log4j:WARN Please initialize the log4j system properly. [DEBUG] TilesRequestProcessor - -processForwardConfig(.acceptanceAgreement, false) I added the 2 properties files into my ear and my ejb.jar. But no luck.... --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]