Can we get the number of hits to a servlet using log4j

2002-07-31 Thread Vullanki, Srividya
Hi, Is there any way we can find the number of hits to the servlet using log4j Thanks Srividya -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Does logger work with out a property file??

2002-07-25 Thread Vullanki, Srividya
Hi Again, Can any one help me out with the following questions 1. Is there a way we can check whether the property file is available to the component. If its not available,then invoke it with default values with out any file!! 2.How can i merge my application property file and the log4j

Does logger work with out a property file??

2002-07-24 Thread Vullanki, Srividya
Hi, I have couple of questions in Log4j. 1. Is there a way we can check whether the property file is available to the component. If its not available,then invoke it with default values with out any file!! 2.How can i merge my application property file and the log4j property file. Thanks in

RE: how to turn off the log for particular class

2002-07-17 Thread Vullanki, Srividya
log4j.logger.loggername=OFF should work. The logger name depends on what u give in the code. If you say Temp.class.getName() to name the logger give full qualified name of the class.ie., log4j.logger.com.foo.Temp=OFF if you are using older version of log4j I guess it should be

RE: how to turn off the log for particular class

2002-07-17 Thread Vullanki, Srividya
Yes its definetly possible.We can specify any level to each class. Srividya -Original Message- From: IvanLatysh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 12:00 PM To: Log4J Users List Subject: Re: how to turn off the log for particular class Hello, Vullanki,! You wrote

Order by thread number in log file

2002-07-15 Thread Vullanki, Srividya
Hi All, Is there any way that we can order the log information according to the thread number. for instance when running in a servlet engine, I would like to view all the log messages of thread one at first and then all the messages thread two and so on. Thanks Srividya -- To unsubscribe,

Usage of NDC

2002-07-15 Thread Vullanki, Srividya
Hi , Can I have the sample code of how to use NDC to align thread info according to thread number using servlets. I appreciate any response. Thanks in advance. Srividya -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

XML layout Help

2002-07-08 Thread Vullanki, Srividya
Hi, I would like to use XML Layout for the output file. But i am getting an error to view the XML. Here is the error message. Reference to undeclared namespace prefix: 'log4j' Here is the XML file written to view the log file ?xml version=1.0 ? !DOCTYPE log4j:eventSet SYSTEM log4j.dtd