You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Sr...@3com.com on 2006/01/04 15:24:44 UTC
unable to load xml file in chainsaw logviewer
Hi All,
I am new to log4j, need your help.
I am trying to load xml file in chainsaw log4j logviewer , I am getting
Error parsing file, more pseudo attributes are expected.
My xml file is :
<?xml version="1.0"?>
<!DOCTYPE log_events [
<!ENTITY logfile_entries SYSTEM "file:///logs.xml">
]>
<log_events xml:base="http://jakarta.apache.org/log4j/" debug ="true">
&logfile_entries;
</log_events>
In logfile_entries i have the following logs
logs.xml
<log4j:event logger="com.coms.voip.admin.common.VoipAdminDatabaseRealm"
timestamp="1136288164977" level="INFO" thread="http-8080-Processor25">
<log4j:message><![CDATA[Authentication successssss]]></log4j:message>
</log4j:event>
<log4j:event logger="com.coms.voip.admin.common.VoipAdminDatabaseRealm"
timestamp="1136290035071" level="INFO" thread="http-8080-Processor23">
<log4j:message><![CDATA[Authentication successssss]]></log4j:message>
</log4j:event>
<log4j:event logger="com.coms.voip.admin.common.VoipAdminDatabaseRealm"
timestamp="1136293906957" level="INFO" thread="http-8080-Processor23">
<log4j:message><![CDATA[Authentication successssss]]></log4j:message>
</log4j:event>
When i am trying to load logs.xml file, its displaying message box as
Loaded 3 events but contents are not displayed. So we need to load which
XML file, is it well-formed xml or logs.xml ?
Thanks,
Srinivas.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org