You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Villalba Arias, Fredy [BILBOMATICA]" <fv...@mailext.com> on 2004/02/06 16:02:56 UTC

Enable the log for RequestProcessor and other classes

Hi,

 

Is there a configuration variable (web.xml / struts-config.xml / other file) for enabling the log for the RequestProcessor class (and the like)?

 

Regards,

Freddy.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003
 

Re: Enable the log for RequestProcessor and other classes

Posted by Joe Germuska <Jo...@Germuska.com>.
>Is there a configuration variable (web.xml / struts-config.xml / 
>other file) for enabling the log for the RequestProcessor class (and 
>the like)?

Struts uses the commons-logging API.

If Log4J is on the classpath, then you don't need any additional 
configuration besides the Log4J config files.  Otherwise, you may 
need to place a "commons-logging.properties" file on your classpath 
with config details.


http://jakarta.apache.org/commons/logging.html
http://jakarta.apache.org/commons/logging/userguide.html
http://logging.apache.org/log4j/docs/manual.html


-- 
Joe Germuska            
Joe@Germuska.com  
http://blog.germuska.com    
       "Imagine if every Thursday your shoes exploded if you tied them 
the usual way.  This happens to us all the time with computers, and 
nobody thinks of complaining."
             -- Jef Raskin

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