Hi folks,
I started using log4j recently and have started liking it. I needed a xml
based log output format.
So I used org.apache.log4j.xml.XMLLayout & RollingFileAppender and found
that it is quite good.
However it does not generate well formed xml documents. There is no root tag
and hence th
The source code for the XMLFileAppener is included with the distribution.
You could edit it I guess this file and rename it or something
(WellFormedXMLFileAppender?) - shouldn't be too hard.
sam
Krishnamurthy, Balaji (MED) Wrote:
>
> Hi folks,
>
> I started using log4j recently and have starte
This is what the javadoc says:
The output of the XMLLayout consists of a series of log4j:event
elements as defined in the log4j.dtd. It does not output a complete
well-formed XML file. The output is designed to be included as an
external entity in a separate file to form a correct XML file.
For
: XMLLayout and well formatted XML documents
This is what the javadoc says:
The output of the XMLLayout consists of a series of log4j:event
elements as defined in the log4j.dtd. It does not output a complete
well-formed XML file. The output is designed to be included as an
external entity in a separate