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=21794>. 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=21794 HtmlLayout not closing table, body, and html tags on close Summary: HtmlLayout not closing table, body, and html tags on close Product: Log4j Version: 1.3alpha Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Layout AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Basically, the getFooter() method of HtmlLayout is never being called, so these html tags are never closed. I did find that the finalize() method of the WriterAppender is suppose to call getFooter(), but this method was never called during my testing (since Garbage Collection on exit is at the jvm's discression, and forcing GC is not recommended). I noticed that the SMTPAppender.sendBuffer() calls the getHeader(), formatContent(), and getFooter () all in sequence so that the Html would be well-formed, so maybe similar logic needs to occur for the other appenders. The appender I was trying to get this functionality was the DailyRollingFileAppender, which essentially means the WriterAppender. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]