Yep.. first of all we need to put the properties file in
WEB-INF/classes folder..

after adding that to classpath...

just implement that in java class so that it will automatically send
the message to log file...

Kranti

On Tue, 28 Sep 2004 15:06:49 +0300, Tuncay Baskan <[EMAIL PROTECTED]> wrote:
> On Tue, 28 Sep 2004 20:39:59 +0900, Prasad, Kamakshya
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am newbie in log4j.
> >
> > Please advice me the best option for loading the log4j properties file
> > in a web application.
> 
> log4j searches your applicaton's classpath to find a log4j.properties
> file. So placing your log4j.properties file in your WEB-INF/classes is
> the best option.
> 
> >
> > Regards,
> >
> > KP
> >
> >
> 
> /tb.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-- 
-- 
Kranti Kiran Kumar Parisa
Software Engineer [ e-Biz ],
Patni Computer Systems Ltd.,
India
Mobile: +91 98504 45977

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to