Link from ScriptFilter documentation to the ScriptCondition docs for an example 
of embedding script code directly in the configuration.


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

Branch: refs/heads/LOG4J-1181
Commit: 1286d960b02220717eea25050776b00e1253800b
Parents: 8c310be
Author: rpopma <rpo...@apache.org>
Authored: Sun Dec 27 08:32:17 2015 +0900
Committer: rpopma <rpo...@apache.org>
Committed: Sun Dec 27 08:32:17 2015 +0900

----------------------------------------------------------------------
 src/site/xdoc/manual/filters.xml | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/1286d960/src/site/xdoc/manual/filters.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/filters.xml b/src/site/xdoc/manual/filters.xml
index 67f8059..f44ec10 100644
--- a/src/site/xdoc/manual/filters.xml
+++ b/src/site/xdoc/manual/filters.xml
@@ -550,6 +550,8 @@
           </table>
           <p>
             The sample below shows how to declare script fields and then 
reference them in specific components.
+            See <a href="appenders.html#ScriptCondition">ScriptCondition</a> 
for an example of how the
+            <tt>Script</tt> element can be used to embed script code directly 
in the configuration.
           </p>
           <pre class="prettyprint linenums"><![CDATA[<?xml version="1.0" 
encoding="UTF-8"?>
 <Configuration status="ERROR">

Reply via email to