struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durham David Cntr 805CSS/SCBE" <David.Durh...@scott.af.mil>
Subject RE: [Struts & Log4j]
Date Fri, 25 Apr 2003 18:05:39 GMT
Are you positive on this point?  I have never done anything with a commons-logging.properties
file and commons-logging is still looking at my log4j configuration by default.

-Dave


> -----Original Message-----
> From: Edgar Dollin [mailto:Edgar@BLUE-MOOSE.NET]
> Sent: Friday, April 25, 2003 9:57 AM
> To: Durham David Cntr 805CSS/SCBE; 'Struts Users Mailing List'
> Subject: RE: [Struts & Log4j]
> 
> 
> Struts is using commons logging so you need
> 
> commons-logging.properties in WEB-INF/classes with the following lines
> 
> 	
> org.apache.commons.logging.Log=org.apache.commons.logging.impl
> .Log4JCategory
> Log
> 	
> org.apache.commons.logging.LogFactory=org.apache.commons.loggi
> ng.impl.Log4jF
> actory
> 
> In addition to your log4j.properties file.  
> 
> Edgar
> 
> > -----Original Message-----
> > From: Durham David Cntr 805CSS/SCBE 
> > [mailto:David.Durham1@scott.af.mil] 
> > Sent: Friday, April 25, 2003 7:55 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [Struts & Log4j]
> > 
> > 
> > One option is to define a log4j.rootLogger
> > 
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Pat Quinn [mailto:pat_quinn2009@hotmail.com]
> > > Sent: Friday, April 25, 2003 7:40 AM
> > > To: struts-user@jakarta.apache.org
> > > Subject: [Struts & Log4j]
> > > 
> > > 
> > > I have my own implementation of Log4j in my Business Object 
> > etc which
> > > outputs to a trace file. How do i configure struts to use 
> > > this and place 
> > > struts log detail in the same file??
> > > 
> > > 
> > > 
> > > 
> > > 
> > > _________________________________________________________________
> > > The new MSN 8: smart spam protection and 2 months FREE*
> > > http://join.msn.com/?page=features/junkmail
> > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: 
> struts-user-help@jakarta.apache.org
> > > 
> > > 
> > 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message