You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Paul Summers <pa...@gmail.com> on 2004/10/26 17:51:41 UTC

Location of log4j.xml

I want to use Log4j in my Struts application. Where do I place my
log4j.xml file so that the application loads my loggers?

In the past I wrote a plugin that loaded the loggers but I don't think
it has to be that complicated.

Thanks,
Paul

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


Re: Location of log4j.xml

Posted by Antony Paul <an...@gmail.com>.
Follow the normal log4j rules. 

rgds
Antony Paul


On Tue, 26 Oct 2004 11:51:41 -0400, Paul Summers
<pa...@gmail.com> wrote:
> I want to use Log4j in my Struts application. Where do I place my
> log4j.xml file so that the application loads my loggers?
> 
> In the past I wrote a plugin that loaded the loggers but I don't think
> it has to be that complicated.
> 
> Thanks,
> Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

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


Re: Location of log4j.xml

Posted by atta-ur rehman <at...@gmail.com>.
Paul,

Putting it in web-inf/classes should do  the trick.

ATTA


On Tue, 26 Oct 2004 11:51:41 -0400, Paul Summers
<pa...@gmail.com> wrote:
> I want to use Log4j in my Struts application. Where do I place my
> log4j.xml file so that the application loads my loggers?
> 
> In the past I wrote a plugin that loaded the loggers but I don't think
> it has to be that complicated.
> 
> Thanks,
> Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

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