Hi Raju,

Thank you for taking time and looking into my problem.

once I added the directory which contained the
log4j.properties into the classpath of the webserver,
The logging from classes accessed through servlets
started working.

Thanks a lot again.

I want to know one more thing, I came across products
like chainsaw and lumbermill which can be used by
log4j to send messages to. Can u tell me which
product(among the various such products listed on the
log4j site) is the best in terms of functinality.

regards
chimbu


 --- "Saripalli, Raju" <[EMAIL PROTECTED]>
wrote: > 
> Chimbu,
> 
> The first few questions that come to mind are:
> 
> 1. Are there any sort of exceptions thrown in the 
> servlet container that are related to log4j ?
> 
> 2. Is there a log4j properties file available in
> the CLASSPATH of the servlet container ?
> 
> 3. If the answer to (2) is YES, then is the logging
> turned on for the level that you are looking for ?
> 
> Hope that helps,
> 
> 
> Raju
> 
> -----Original Message-----
> From: Chimbu Thankachan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 23, 2002 12:50 PM
> To: Log4J Users List
> Subject: log4j not working when used in servlets
> 
> 
> Hi
> 
> I am using log4j for logging in classes. I am using
> these classes in servlets which are hosted on
> iPlanet
> Webserver 4.1. My problem is that nothing is getting
> logged when I access these classes from servlets.
> when
> I try to run theses classe from command prompt, the
> log4j is working properly and the messages are
> getting
> logged properly. can anybody tell me why its
> happening
> like this.
> 
> regards
> chimbu
> 
>
________________________________________________________________________
> For live cricket scores download  Yahoo! Score
> Tracker
>  at: http://in.sports.yahoo.com/cricket/tracker.html
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>  

________________________________________________________________________
For live cricket scores download  Yahoo! Score Tracker
 at: http://in.sports.yahoo.com/cricket/tracker.html

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

Reply via email to