[logback-dev] [JIRA] Commented: (LBCLASSIC-22) feature request: XMLLayout (cfr. log4j)

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Mon Feb 16 19:14:47 CET 2009


    [ http://jira.qos.ch/browse/LBCLASSIC-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11048#action_11048 ] 

Ceki Gulcu commented on LBCLASSIC-22:
-------------------------------------

The log4j.dtd in log4j version 1.2.14 reads:

<!ATTLIST log4j:event
    logger     CDATA #REQUIRED
    level      CDATA #REQUIRED
    thread     CDATA #REQUIRED
    timestamp  CDATA #REQUIRED
>

Thus, my previous remark is still valid. The timestamp attribute is *not* part of log4j.dtd in log4j 1.2.14 and earlier, I don't think we can just add unexpected attributes to a given element and still be DTD compliant. How about adding a comment which includes the date? A comment will satisfy the human reader without affecting DTD compliance. 



> feature request: XMLLayout (cfr. log4j)
> ---------------------------------------
>
>                 Key: LBCLASSIC-22
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-22
>             Project: logback-classic
>          Issue Type: Improvement
>          Components: Other
>    Affects Versions: unspecified
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: dirk
>            Assignee: Ceki Gulcu
>            Priority: Minor
>             Fix For: 0.9.15
>
>         Attachments: XMLLayout.jar, XMLLayout.java
>
>
> see Summary

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list