mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
15.24.2007 18493539aa963a6879694cdc940148756a0234ad
Fixed an issue where the size based rotation policy does not account for the size of existing log files when inforcing the policy.

Fix for issue 2272
1 files modified
2 ■■■ changed files
opends/src/server/org/opends/server/loggers/MultifileTextWriter.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/loggers/MultifileTextWriter.java
@@ -177,7 +177,7 @@
    }
    FileOutputStream stream = new FileOutputStream(file, append);
    outputStream = new MeteredStream(stream, 0);
    outputStream = new MeteredStream(stream, file.length());
    OutputStreamWriter osw = new OutputStreamWriter(outputStream, encoding);
    BufferedWriter bw = null;