So my assumption is correct that append isn't currently doing a whole bunch for the HTMLLayout. If I get some time I will try and write a patch then submit it to the bug fix database.
-Bryan --- Mark Womack <[EMAIL PROTECTED]> wrote: > If append is set to true, and the file exists, then > don't write the headers. > If append is set to true and file does not exist, > then write the headers. > If append is false, always write the headers. Maybe > it should be smart > enough to handle the ending body tag as well (write > it when the appender is > closed, remove it when reopened with append). > > Create a patch and submit it as a bug fix (via the > apache bug database). It > sounds useful to me. > > -Mark > > > -----Original Message----- > > From: bryan hansen [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 31, 2002 9:23 AM > > To: [EMAIL PROTECTED] > > Subject: RollingFileAppender with HTMLLayout > question > > > > > > I am using a RollingFileAppender with an > HTMLLayout in > > a Java/Swing application that logs just fine, but > when > > they stop and start the application it duplicates > all > > the HTML headers. It never closes off the > exisiting > > body tags in the HTML. It would seem to me that > with > > the append set to true that it would see if the > file > > exists and just write the messages to the file, > but > > instead it inserts all new header information? > Does > > this seem right? I wouldn't expect that this would > be > > the desired functionality in any situation web > > application or standalone. > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World Cup > > http://fifaworldcup.yahoo.com > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
