Repository: logging-log4j2
Updated Branches:
  refs/heads/master d40d24c84 -> 0ed3ae3ac


[LOG4J2-1597] Rename ScriptSelectorAppender to ScriptAppenderSelector.

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

Branch: refs/heads/master
Commit: 0ed3ae3aca4a97e56f50bd1280a20394dc0b7472
Parents: d40d24c
Author: Gary Gregory <ggreg...@apache.org>
Authored: Mon Sep 19 21:24:21 2016 -0700
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Mon Sep 19 21:24:21 2016 -0700

----------------------------------------------------------------------
 src/site/xdoc/manual/appenders.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0ed3ae3a/src/site/xdoc/manual/appenders.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/appenders.xml 
b/src/site/xdoc/manual/appenders.xml
index 5196f2e..2419562 100644
--- a/src/site/xdoc/manual/appenders.xml
+++ b/src/site/xdoc/manual/appenders.xml
@@ -3657,23 +3657,23 @@ public class JpaLogEntity extends 
AbstractLogEventWrapperEntity {
   </Loggers>
 </Configuration>]]></pre>
         </subsection>
-        <a name="ScriptSelector"/>
-        <subsection name="ScriptSelector">
+        <a name="ScriptAppenderSelector"/>
+        <subsection name="ScriptAppenderSelector">
           <p>
-            When the configuration is built, the <code>ScriptSelector</code> 
appender calls a <code>Script</code> 
+            When the configuration is built, the 
<code>ScriptAppenderSelector</code> appender calls a <code>Script</code> 
             to compute an appender name. Log4j then creates one of the 
appender named listed under 
-            <code>AppenderSet</code> using the name of the 
<code>ScriptSelector</code>. After configuration, Log4j 
-            ignores the <code>ScriptSelector</code>. Log4j only builds the one 
selected appender from the 
+            <code>AppenderSet</code> using the name of the 
<code>ScriptAppenderSelector</code>. After configuration, Log4j 
+            ignores the <code>ScriptAppenderSelector</code>. Log4j only builds 
the one selected appender from the 
             configuration tree, and ignores other <code>AppenderSet</code> 
child nodes. 
           </p>
           <p>
             In the following example, the script returns the name "List2". The 
appender name is recorded under 
-            the name of the <code>ScriptSelector</code>, not the name of the 
selected appender, in this example, 
+            the name of the <code>ScriptAppenderSelector</code>, not the name 
of the selected appender, in this example, 
             "SelectIt".
           </p>
 <pre class="prettyprint linenums"><![CDATA[<Configuration status="WARN" 
name="RoutingTest">
   <Appenders>
-    <ScriptSelector name="SelectIt">
+    <ScriptAppenderSelector name="SelectIt">
       <Script language="JavaScript"><![CDATA[
         importPackage(java.lang);
         System.getProperty("os.name").search("Windows") ? "List2" : 
"List1";]]]]><![CDATA[>
@@ -3682,7 +3682,7 @@ public class JpaLogEntity extends 
AbstractLogEventWrapperEntity {
         <List name="List1" />
         <List name="List2" />
       </AppenderSet>
-    </ScriptSelector>
+    </ScriptAppenderSelector>
   </Appenders>
   <Loggers>
     <Root level="error">

Reply via email to