[logback-user] Is HTMLLayoutBase/WriterAppender correct?

Natan Cox natan.cox at gmail.com
Fri Aug 8 07:23:21 CEST 2008


Hi,

If I look into the code I can see in WriterAppender writeFooter

     String h = layout.getFileFooter();
     if ((h != null) && (this.writer != null)) {
       try {
         this.writer.write(h);
         String pf = layout.getPresentationFooter();
         if (pf != null) {
           this.writer.write(pf);
         }

And if I look into HTMLLayoutBase I see

 getFileFooter =>     </body></html>
 getPresentationFooter => </table>

which means we are first closing the HTML and then the TABLE?

I think this is a bug.

Thanks & regards!
Natan Cox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20080808/43ce2913/attachment.htm 


More information about the Logback-user mailing list