Repository: logging-log4j2
Updated Branches:
  refs/heads/master 1c0c48653 -> fb71895a6


Javadoc.

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

Branch: refs/heads/master
Commit: fb71895a617a7cec96ec74e4102edf136b28b8b3
Parents: 1c0c486
Author: Gary Gregory <ggreg...@apache.org>
Authored: Thu Aug 10 15:05:33 2017 -0600
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Thu Aug 10 15:05:33 2017 -0600

----------------------------------------------------------------------
 .../apache/logging/log4j/core/appender/ConsoleAppender.java  | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/fb71895a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
index e8fe1bc..6243944 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
@@ -45,9 +45,11 @@ import org.apache.logging.log4j.util.PropertiesUtil;
  * Appends log events to <code>System.out</code> or <code>System.err</code> 
using a layout specified by the user. The
  * default target is <code>System.out</code>.
  * <p>
- * TODO accessing System.out or .err as a byte stream instead of a writer 
bypasses the JVM's knowledge of the proper
- * encoding. (RG) Encoding is handled within the Layout. Typically, a Layout 
will generate a String and then call
- * getBytes which may use a configured encoding or the system default. OTOH, a 
Writer cannot print byte streams.
+ * TODO Accessing <code>System.out</code> or <code>System.err</code> as a byte 
stream instead of a writer bypasses the
+ * JVM's knowledge of the proper encoding. (RG) Encoding is handled within the 
Layout. Typically, a Layout will generate
+ * a String and then call getBytes which may use a configured encoding or the 
system default. OTOH, a Writer cannot
+ * print byte streams.
+ * </p>
  */
 @Plugin(name = ConsoleAppender.PLUGIN_NAME, category = Core.CATEGORY_NAME, 
elementType = Appender.ELEMENT_TYPE, printObject = true)
 public final class ConsoleAppender extends 
AbstractOutputStreamAppender<OutputStreamManager> {

Reply via email to