You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2013/08/14 22:39:34 UTC

svn commit: r1514033 - in /logging/log4j/log4j2/trunk: core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java src/site/xdoc/manual/appenders.xml

Author: ggregory
Date: Wed Aug 14 20:39:33 2013
New Revision: 1514033

URL: http://svn.apache.org/r1514033
Log:
[LOG4J2-353] Use consistent conventions in configuration files: "error-ref" -> "errorRef".

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java?rev=1514033&r1=1514032&r2=1514033&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java (original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java Wed Aug 14 20:39:33 2013
@@ -170,7 +170,7 @@ public final class AsyncAppender<T exten
     @PluginFactory
     public static <S extends Serializable> AsyncAppender<S> createAppender(
                 @PluginElement("AppenderRef") final AppenderRef[] appenderRefs,
-                @PluginAttr("error-ref") final String errorRef,
+                @PluginAttr("errorRef") final String errorRef,
                 @PluginAttr("blocking") final String blocking,
                 @PluginAttr("bufferSize") final String size,
                 @PluginAttr("name") final String name,

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml?rev=1514033&r1=1514032&r2=1514033&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml Wed Aug 14 20:39:33 2013
@@ -76,7 +76,7 @@
               <td>Specifies the maximum number of events that can be queued. The default is 128.</td>
             </tr>
             <tr>
-              <td>error-ref</td>
+              <td>errorRef</td>
               <td>String</td>
               <td>The name of the Appender to invoke if none of the appenders can be called, either due to errors
                 in the appenders or because the queue is full. If not specified then errors will be ignored.</td>