[logback-user] Is HTMLLayoutBase/WriterAppender correct?

Ceki Gulcu listid at qos.ch
Fri Aug 8 16:25:50 CEST 2008



Natan Cox wrote:
> 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.


Thank you Natan. Yes, it looks like a bug. Would you care to create an issue for it?

> Thanks & regards!
> Natan Cox

-- 
Ceki Gülcü



More information about the Logback-user mailing list