From 7a6d765e011398468e4b755b4b5acba0fc6ef41f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Mat=C3=A8rne?=
org.apache.tools.ant.listener.Log4jListener
Deprecated: Apache Log4j (1) is not developed any more. Last +release is 1.2.17 from 26-May-2012 and contains vulnerability issues.
Passes build events to Log4j, using the full classname's of the generator of each build event as the category:
Acts like the default logger, except that the final success/failure message also includes diff --git a/src/main/org/apache/tools/ant/listener/Log4jListener.java b/src/main/org/apache/tools/ant/listener/Log4jListener.java index 501b511d3..3a3cce5d4 100644 --- a/src/main/org/apache/tools/ant/listener/Log4jListener.java +++ b/src/main/org/apache/tools/ant/listener/Log4jListener.java @@ -28,9 +28,12 @@ import org.apache.tools.ant.Task; /** - * Listener which sends events to Log4j logging system - * + * Listener which sends events to Log4j logging system. + * @deprecated Apache Log4j (1) is not developed any more. Last + * release is 1.2.17 from 26-May-2012 and contains vulnerability issues. + * Use the standard listener or your own custom listener instead. */ +@Deprecated public class Log4jListener implements BuildListener { /** Indicates if the listener was initialized. */