diff --git a/manual/listeners.html b/manual/listeners.html index 2015cd521..673106f5b 100644 --- a/manual/listeners.html +++ b/manual/listeners.html @@ -97,7 +97,11 @@ listeners and loggers.
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 b25ad1cf0..ad9426e68 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 { /**