Repository: logging-log4j2 Updated Branches: refs/heads/master 1714c713a -> 42c89a28e
[LOG4J2-1578] RoutingAppender can be configured with scripts. Better test fixture. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/12336b66 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/12336b66 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/12336b66 Branch: refs/heads/master Commit: 12336b66d46a7d7f9fdc681ab3987582871865e4 Parents: 1714c71 Author: Gary Gregory <[email protected]> Authored: Wed Sep 14 12:13:52 2016 -0700 Committer: Gary Gregory <[email protected]> Committed: Wed Sep 14 12:13:52 2016 -0700 ---------------------------------------------------------------------- .../src/test/resources/log4j-routing-routes-script-javascript.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/12336b66/log4j-core/src/test/resources/log4j-routing-routes-script-javascript.xml ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/resources/log4j-routing-routes-script-javascript.xml b/log4j-core/src/test/resources/log4j-routing-routes-script-javascript.xml index e672aea..4c88487 100644 --- a/log4j-core/src/test/resources/log4j-routing-routes-script-javascript.xml +++ b/log4j-core/src/test/resources/log4j-routing-routes-script-javascript.xml @@ -20,7 +20,7 @@ <Appenders> <Routing name="Routing"> <Routes> - <Script name="RoutingInit" language="JavaScript"><![CDATA[ + <Script name="RoutesInit" language="JavaScript"><![CDATA[ "OSNameFoo".search("Foo") > -1 ? "Service2" : "Service1";]]> </Script> <Route key="Service1">
