[logback-dev] [JIRA] Created: (LBCORE-211) HTMLLayout and LayoutWrappingEncoder produces invalid/unusuable output

Jessica-Aileen Alten (JIRA) noreply-jira at qos.ch
Mon Jun 20 11:20:51 CEST 2011

HTMLLayout and LayoutWrappingEncoder produces invalid/unusuable output

                 Key: LBCORE-211
                 URL: http://jira.qos.ch/browse/LBCORE-211
             Project: logback-core
          Issue Type: Bug
    Affects Versions: 0.9.29
         Environment: Windows Server 2008 R2 64 bit, JDK 1.6.0_26
            Reporter: Jessica-Aileen Alten
            Assignee: Logback dev list

HTMLLayout and LayoutWrappingEncoder are producing unusuable HTML output, the HTML file isn't closed by </table></body></html>. When you are using the append element, a new logging event produces the complete html header, headlines and table header.

<appender name="FILE" class="ch.qos.logback.core.FileAppender">
        <encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
            <layout class="ch.qos.logback.classic.html.HTMLLayout">

 <logger name="file.logger" additivity="false">
        <level value="info" />
        <appender-ref ref="FILE" />

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