Hi can someone please tell me what I am doing wrong here!!!!

I am trying to load a log file into chainsaw supplied as part of
log4j-1.2.7
As per the javadoc I tried

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE log4j:eventSet SYSTEM "log4j.dtd" [<!ENTITY data SYSTEM "server.log">] >
<log4j:eventSet version="1.2" xmlns:log4j="http://jakarta.apache.org/log4j/";>
&data
</log4j:eventSet>

with server.log generated via the XMLLayout appender containing

<log4j:event logger="com.royalsun.utils.MQ" timestamp="1037091954959" level="INFO" 
thread="Thread-1">
<log4j:message><![CDATA[Initialising MQ Adapter]]></log4j:message>
<log4j:NDC><![CDATA[RSAEAA application starting]]></log4j:NDC>
</log4j:event>

with CRIMSON  1.1.3 I get the following error message

The content beginning "<!" is not legal markup. Perhaps the "!" (&#21;) character 
should be a letter.


with XERCES 1.4.4

The content of elements must consist of well-formed character data or markup.

I've tried pasting the contents of server.log into the file and removing the ENTITY 
section to no avail
The only thing that sort of works is to remove the DOCTYPE tag and the log4j namespace 
entries, but obviously this cannot be correct.

TIA Graham







--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@;jakarta.apache.org>

Reply via email to