logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Quah Sien Kian" <quahs...@hotmail.com>
Subject Fix for CompositeRollingAppender.java
Date Thu, 04 Oct 2007 10:51:44 GMT
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. 
Mime
View raw message