Sampling

2004-09-23 Thread Sikha, Naresh
Is it possible to have an appender write logs say the first 5 minutes of every hour? Thanks.

RE: problem loading xml events to chainsaw

2004-05-20 Thread Sikha, Naresh
I second the praise for Chainsaw V2, nice job! On a related question - is it possible to create xml log files without the log4j: namespace prefix? Alternatively, what is the rationale for having an explicit namespace in the DTD? Asking to remove the DOCTYPE declaration, IMHO, should then not

XML Namespaces

2004-04-22 Thread Sikha, Naresh
I have been using Log4j's XML layout but I would like to make the insertion of the XML namespace optional. This will allow me to reduce the log file size and render it in a browser window. I would like to be able to choose between: log4j:eventSet xmlns:log4j=http://jakarta.apache.org/log4j//

Unsuccessful at viewing XML output in a browser

2004-04-21 Thread Sikha, Naresh
Title: Message Log4J Users, I'm attempting to follow the recommended way for including the XML layout output into an XML document. But whenever I attempt to view the XML document in a browser I get errors (IE) or no data at all (Mozilla FireFox). Here is the IE error: The XML page

How does one use the properties field of LoggingEvent?

2004-04-20 Thread Sikha, Naresh
Title: Message I've been eagerly awaiting the new properties field in the LoggingEvent class and have even noticed the set/getProperty methods; however, I'm at a loss on how to populate the data. At first I thought I could instantiate a LoggingEvent and pass it to any one of the log

RE: Messages getting redirected to non related log file

2004-04-20 Thread Sikha, Naresh
The offending code is probably programmatically configuring log4j rather than using a configuration file. Barring LOG4J having a security mechanism the best you can do is to guard your own code and configuration by maintaining your own Repository(Hierarchy). https://www.qos.ch/logging/sc.html is

Correlating enterprise logs

2004-04-16 Thread Sikha, Naresh
Title: Message Hello, LOG4J. I'm attempting to correlate enterprise logs using LOG4J MDC/NDC. I've reasoned that I need the following values in every message to correlate: - Guaranteed unique session identifier (correlates many requests) - Guaranteed unique request identifier (correlates