You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jay sissom <js...@toybox.uits.indiana.edu> on 2002/04/10 20:22:39 UTC

Struts 1.1b/log4j

Can someone please point me to (or send to the list) an example
log4j.properties file that will work with Struts 1.1b?  I'm not sure what 
appenders and categories to put in there and I haven't found any 
documentation about it.

Also, do I have to start log4j or does Struts start it automatically?

Thanks
Jay



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Struts 1.1b/log4j

Posted by Marcelo Vanzin <va...@rededc.com.br>.
Jay sissom wrote:
> I'm not sure what 
> appenders and categories to put in there and I haven't found any 
> documentation about it.

	The commons-logging package uses class names to instantiate the loggers. 
So, for example, the logger for the ActionServlet will be named 
"org.apache.struts.action.ActionServlet" (or something).

	The appenders you can set up as you wish.


> Also, do I have to start log4j or does Struts start it automatically?

	You have to start it manually.

-- 
[]'s
Marcelo Vanzin
Touch Tecnologia
vanza@rededc.com.br
"Life is too short to drink cheap beer"


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>