Is it possible to have an appender write logs say the first 5 minutes of
every hour?
Thanks.
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
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//
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
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
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
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