You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Quah Sien Kian <qu...@hotmail.com> on 2007/10/04 12:51:44 UTC

Fix for CompositeRollingAppender.java

Hi,

Have managed to try to do a little fix in Kevin Steppe's 
CompositeRollingAppender.java, so that it is at least workable.

Basically two parts of the code are addressed:

1) Change line 371
super.setFile(fileName, append);
---> super.setFile(fileName, append, this.bufferedIO, this.bufferSize);

2) Removal of the entire method:  (lines 255-270)
public void setMaxFileSize(long maxFileSize) {
  this.maxFileSize = maxFileSize;
}

I've attached the fix version. Hope this is useful.

Best Regards,
Quah Sien Kian.