-
Notifications
You must be signed in to change notification settings - Fork 208
Closed
Description
The configuration
<ApplicationInsightsAppender name="applicationInsightsAppender">
<ThresholdFilter level="ERROR" onMatch="ACCEPT" onMismatch="DENY" />
</ApplicationInsightsAppender>results in the error
appender ApplicationInsightsAppender has no parameter that matches element ThresholdFilter.
I think, as a fix the appender needs to add a builder
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
return new Builder<B>().asBuilder();
}
́public static class Builder<B extends Builder<B>> extends AbstractAppender.Builder<B>
implements org.apache.logging.log4j.core.util.Builder<ApplicationInsightsAppender> { ... }