Repository: logging-log4j2 Updated Branches: refs/heads/master 23b4dc5ea -> 54813022a
Param name matches other parts of Log4j. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/54813022 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/54813022 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/54813022 Branch: refs/heads/master Commit: 54813022a7f98c4ce87eaf18ad5424355bc123d6 Parents: 23b4dc5 Author: Gary Gregory <[email protected]> Authored: Sat Jul 14 08:04:06 2018 -0600 Committer: Gary Gregory <[email protected]> Committed: Sat Jul 14 08:04:06 2018 -0600 ---------------------------------------------------------------------- .../logging/log4j/core/appender/RandomAccessFileManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/54813022/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RandomAccessFileManager.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RandomAccessFileManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RandomAccessFileManager.java index 59f0df3..f2c17d9 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RandomAccessFileManager.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RandomAccessFileManager.java @@ -60,7 +60,7 @@ public class RandomAccessFileManager extends OutputStreamManager { * @param fileName The name of the file to manage. * @param append true if the file should be appended to, false if it should * be overwritten. - * @param isFlush true if the contents should be flushed to disk on every + * @param immediateFlush true if the contents should be flushed to disk on every * write * @param bufferSize The buffer size. * @param advertiseURI the URI to use when advertising the file @@ -69,10 +69,10 @@ public class RandomAccessFileManager extends OutputStreamManager { * @return A RandomAccessFileManager for the File. */ public static RandomAccessFileManager getFileManager(final String fileName, final boolean append, - final boolean isFlush, final int bufferSize, final String advertiseURI, + final boolean immediateFlush, final int bufferSize, final String advertiseURI, final Layout<? extends Serializable> layout, final Configuration configuration) { - return narrow(RandomAccessFileManager.class, getManager(fileName, new FactoryData(append, - isFlush, bufferSize, advertiseURI, layout, configuration), FACTORY)); + return narrow(RandomAccessFileManager.class, getManager(fileName, + new FactoryData(append, immediateFlush, bufferSize, advertiseURI, layout, configuration), FACTORY)); } public Boolean isEndOfBatch() {
