Better panme.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/4b4a07b4
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/4b4a07b4
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/4b4a07b4

Branch: 
refs/heads/LOG4J2-1010&LOG4J2-1447-injectable-contextdata&better-datastructure
Commit: 4b4a07b41ef54f88fb6811ce935108ac86dd6aac
Parents: 50a1422
Author: Gary Gregory <ggreg...@apache.org>
Authored: Mon Aug 8 13:48:46 2016 -0700
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Mon Aug 8 13:48:46 2016 -0700

----------------------------------------------------------------------
 .../org/apache/logging/log4j/core/appender/FileAppender.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/4b4a07b4/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileAppender.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileAppender.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileAppender.java
index b13cb01..a026850 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileAppender.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileAppender.java
@@ -250,7 +250,7 @@ public final class FileAppender extends 
AbstractOutputStreamAppender<FileManager
      * @param name The name of the Appender.
      * @param immediateFlush "true" if the contents should be flushed on every 
write, "false" otherwise. The default
      * is "true".
-     * @param ignore If {@code "true"} (default) exceptions encountered when 
appending events are logged; otherwise
+     * @param ignoreExceptions If {@code "true"} (default) exceptions 
encountered when appending events are logged; otherwise
      *               they are propagated to the caller.
      * @param bufferedIo "true" if I/O should be buffered, "false" otherwise. 
The default is "true".
      * @param bufferSizeStr buffer size for buffered IO (default is 8192).
@@ -271,7 +271,7 @@ public final class FileAppender extends 
AbstractOutputStreamAppender<FileManager
             final String locking,
             final String name,
             final String immediateFlush,
-            final String ignore,
+            final String ignoreExceptions,
             final String bufferedIo,
             final String bufferSizeStr,
             final Layout<? extends Serializable> layout,
@@ -288,7 +288,7 @@ public final class FileAppender extends 
AbstractOutputStreamAppender<FileManager
             .withConfig(config)
             .withFileName(fileName)
             .withFilter(filter)
-            .withIgnoreExceptions(Booleans.parseBoolean(ignore, true))
+            .withIgnoreExceptions(Booleans.parseBoolean(ignoreExceptions, 
true))
             .withImmediateFlush(Booleans.parseBoolean(immediateFlush, true))
             .withLayout(layout)
             .withLocking(Boolean.parseBoolean(locking))

Reply via email to