I am new to log4j and Chainsaw in general, but I believe that what I am trying to do is fairly straight forward but have not had any luck. I searched the web and looked around on the FAQ section but have not had any luck. I am trying to open a log4j XML file using chainsaw but every time there is a org.apache.log4j.xml.SAXErrorHandler exception stating: "XML document structures must start and end within the same entity". Below is the most simple example I can think of and the error that I am receiving.
I choose File -> Load Log4JFile... and choose a file that has the following contents: <log4j:eventSet xmlns:log4j="http://jakarta.apache.org/log4j/" version="0.3"> <log4j:event logger="com.mycompany.mycomponentA" timestamp="1127313872312" sequenceNumber="67" level="TRACE" thread="Thread-2"> <log4j:message><![CDATA[contents of the message]]></log4j:message> </log4j:event> </log4j:eventSet> I then get the following errors inside the chainsaw-log tab: org.apache.log4j.xml.SAXErrorHandler: Parsing error on line 3 and column 32 org.apache.log4j.xml.SAXErrorHandler: XML document structures must start and end within the same entity. Am I doing something wrong or is the XML not formatted correctly? Any help would be greatly appreciated. Thanks in advance, Mike Richmond Willetts Systems Inc. http://www.willetts.com 301-722-5800 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
