This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new 57b6298 LOG4J2-2972 Fix AsyncAppender builder annotation.
57b6298 is described below
commit 57b6298f89a76810d4a7d876d4294e1fe28c1915
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Tue Jan 26 22:22:03 2021 +0100
LOG4J2-2972 Fix AsyncAppender builder annotation.
---
.../java/org/apache/logging/log4j/core/appender/AsyncAppender.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
index 141eb95..8c4ca83 100644
---
a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
+++
b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
@@ -33,6 +33,7 @@ import org.apache.logging.log4j.core.config.AppenderRef;
import org.apache.logging.log4j.core.config.Configuration;
import org.apache.logging.log4j.core.config.ConfigurationException;
import org.apache.logging.log4j.core.config.Property;
+import org.apache.logging.log4j.core.config.plugins.PluginBuilderFactory;
import org.apache.logging.log4j.core.config.plugins.PluginConfiguration;
import org.apache.logging.log4j.core.filter.AbstractFilterable;
import org.apache.logging.log4j.core.impl.Log4jLogEvent;
@@ -231,7 +232,7 @@ public final class AsyncAppender extends AbstractAppender {
}
}
- @PluginFactory
+ @PluginBuilderFactory
public static Builder newBuilder() {
return new Builder();
}