Michael Agroskin | 3 May 2002 16:54
Favicon

Re: Using browser to view XMLLayout log file?

Couple mistakes. You have to specify the namespace "log4j"  because you are
using the namespace prefix.

And another mistake. Your XML is missing the top object so the Web browser
won't show it anyway .

In order to be viewed in the web browser, it should look something like
this:

<?xml version="1.0"?>
<TopObject  xmlns:log4j="http://URL">
<log4j:event category="com.loomissayles.framework.lslogging.LSLoggerFactory"
timestamp="1020341749111" priority="INFO" thread="main">
<log4j:message><![CDATA[1st hello world: 1]]></log4j:message>
</log4j:event>

<log4j:event category="com.loomissayles.framework.lslogging.LSLoggerFactory"
timestamp="1020341749111" priority="INFO" thread="main">
<log4j:message><![CDATA[1st hello world: 2]]></log4j:message>
</log4j:event>
</TopObject>

where "TopObject" could be any name ("Log", "List", "Document", or anything
else) , and URL should point to the "log4j" datadictionary (description of
all tags).

Or you can include the datadictionary in the beginning of the file and call
it "log4j". Or you can get rid of "log4j" prefixes, then you won't need
"xmlns" at all:

(Continue reading)

Max Rydahl Andersen | 3 May 2002 18:18
Picon

LogFactor5

Hello log4j-devels,

Anyone working on extending LogFactor5 to have text filtering as
powerfull as those available in Chainsaw ?

I'm very close (read: in the next week) to be able to deliver a simple patch that extends
LogFactor5 with a small panel that allows one to enter text for NDC,
thread, message, exception etc. which would be used to filter the logentries (very similar to
the patch I once made to Lumbermill a few months back - if anyone have noticed that on
sourceforge :)

Do you want this patch ?

--

-- 
Best regards,
 Max                            mailto:max <at> eos.dk

Gmane