Repository: ant Updated Branches: refs/heads/master 1d84c903d -> 21b231f57
hint: log4j-bridge requires a newer version of Ant Project: http://git-wip-us.apache.org/repos/asf/ant/repo Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/21b231f5 Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/21b231f5 Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/21b231f5 Branch: refs/heads/master Commit: 21b231f572b9a16ad1b9602c2dabf9355906cfb5 Parents: 1d84c90 Author: Jan Matèrne <j...@apache.org> Authored: Fri Jan 26 20:00:50 2018 +0100 Committer: Jan Matèrne <j...@apache.org> Committed: Fri Jan 26 20:00:50 2018 +0100 ---------------------------------------------------------------------- manual/listeners.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ant/blob/21b231f5/manual/listeners.html ---------------------------------------------------------------------- diff --git a/manual/listeners.html b/manual/listeners.html index e201638..7387288 100644 --- a/manual/listeners.html +++ b/manual/listeners.html @@ -420,7 +420,7 @@ documentation page</a>.</p> <h4>Using the Log4j 1.2 Bridge</h4> You could use the <a href="http://logging.apache.org/log4j/2.x/log4j-1.2-api/index.html">Log4j Bridge</a> -if your application is written against the Log4j (1.x) API, but you want to use the Log4j 2.x runtime. +if your application is written against the Log4j (1.x) API, but you want to use the Log4j 2.x runtime. For using the bridge with Ant you have to add <ul> <li>log4j-1.2-api-${log4j.version}.jar</li> @@ -429,6 +429,7 @@ For using the bridge with Ant you have to add <li>log4j2.xml</li> </ul> to your classpath (e.g. via the <code>-lib</code> option). +(For using the bridge Ant 1.9.10/1.10.2 or higher is required.) Translating the 1.x properties file into the 2.x xml syntax would result in <blockquote> <pre><code><?xml version="1.0" encoding="UTF-8"?>