ceki 01/08/13 08:12:10 Modified: docs critique.html src/java/org/apache/log4j FileAppender.java Log: FileAppender now compiles altough the code is totally untested. Revision Changes Path 1.24 +1 -1 jakarta-log4j/docs/critique.html Index: critique.html =================================================================== RCS file: /home/cvs/jakarta-log4j/docs/critique.html,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- critique.html 2001/08/09 20:16:30 1.23 +++ critique.html 2001/08/13 15:12:10 1.24 @@ -527,7 +527,7 @@ <li><p><a href="pub-support/UmaMaheswaran.html">Uma Maheswaran</a> <li><p><a href="pub-support/SandipGahlot.html">Sandip Gahlot</a> <!-- --> <li><p><a href="pub-support/BrianBush.html">Brian Bush</a> <!-- --> -<li><p><a href="pub-support/ShawnStephens.html">Shawn Stephens</a> +<li><p><a href="pub-support/ShawnStephens.html">Shawn Stephens</a> <!-- --> <li><p><a href="pub-support/AaronKnauf.html">Aaron Knauf</a> <!-- --> <li><p><a href="pub-support/DamienGlancy.html">Damien Glancy</a> <!-- --> <li><p><a href="pub-support/RogerThomas.html">Roger Thomas</a> <!-- --> 1.27 +3 -3 jakarta-log4j/src/java/org/apache/log4j/FileAppender.java Index: FileAppender.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/FileAppender.java,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- FileAppender.java 2001/08/13 10:22:10 1.26 +++ FileAppender.java 2001/08/13 15:12:10 1.27 @@ -11,7 +11,7 @@ import java.io.Writer; import java.io.FileWriter; import java.io.OutputStream; -import java.io.BufferedOutputStream; +import java.io.BufferedWriter; import java.io.OutputStreamWriter; import org.apache.log4j.spi.ErrorHandler; @@ -242,14 +242,14 @@ truncate fileName. */ public synchronized - void setFile(String fileName, boolean append, boolean bufferedIO) + void setFile(String fileName, boolean append) throws IOException { LogLog.debug("setFile called: "+fileName+", "+append); reset(); Writer fw = new FileWriter(fileName, append); if(bufferedIO) { - fw = new BufferedOutputStream(fw); + fw = new BufferedWriter(fw); } this.setQWForFiles(fw); //this.tp = new TracerPrintWriter(qw); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]