Author: ggregory Date: Fri Nov 2 14:55:37 2012 New Revision: 1404984 URL: http://svn.apache.org/viewvc?rev=1404984&view=rev Log: Use the active voice.
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml?rev=1404984&r1=1404983&r2=1404984&view=diff ============================================================================== --- logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml (original) +++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml Fri Nov 2 14:55:37 2012 @@ -26,10 +26,10 @@ <body> <section name="Layouts"> <p> - Layouts are used by Appenders to format the LogEvent into a form that meets the needs of whoever will be - consuming the log events. In Log4j 1.x and Logback Layouts were expected to transform an event into a + An Appender uses a Layout to format a LogEvent into a form that meets the needs of whatever will be + consuming the log event. In Log4j 1.x and Logback Layouts were expected to transform an event into a String. In Log4j 2 Layouts return a byte array. This allows the result of the Layout to be useful in - many more types of Appenders. However, this means most Layouts need to be configured with a + many more types of Appenders. However, this means you need to configure most Layouts with a <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Charset</a> to insure the byte array contains correct values. </p>