DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9435>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9435

Chainsaw incorrectly loads priority (level) from XML log file

           Summary: Chainsaw incorrectly loads priority (level) from XML log
                    file
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


example log entry looks like:
<log4j:event category="de.eurodata.Protokoll" timestamp="1022489698611" 
priority="INFO" thread="AWT-EventQueue-0">
...
</log4j:event>
Chainsaw (from log4j 1.2.1) displays it as priority DEBUG.

I think the error is in method XMLFileHandler.startElement(...):

The line
   Priority = Priority.toPriority(aAtts.getValue("level"));
is incorrect in my opinion, because the attribute name in the log4j.dtd
is "priority". As a consequence, Chainsaw is using the default log level 
(DEBUG).

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to