You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/13 21:07:00 UTC
[jira] [Commented] (LOG4J2-2673) OutputStreamAppender.Builder
ignores setFilter()
[ https://issues.apache.org/jira/browse/LOG4J2-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906615#comment-16906615 ]
ASF subversion and git services commented on LOG4J2-2673:
---------------------------------------------------------
Commit 4679a08d4899350f7ee19d050d2a96783b748066 in logging-log4j2's branch refs/heads/release-2.x from Gary Gregory
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=4679a08 ]
[LOG4J2-2673] OutputStreamAppender.Builder ignores setFilter().
Also allow a null output stream for convenience instead of an NPE.
> OutputStreamAppender.Builder ignores setFilter()
> ------------------------------------------------
>
> Key: LOG4J2-2673
> URL: https://issues.apache.org/jira/browse/LOG4J2-2673
> Project: Log4j 2
> Issue Type: Bug
> Components: API
> Affects Versions: 2.12.1
> Reporter: Yuichi Sugimura
> Assignee: Gary Gregory
> Priority: Trivial
>
> in OutputStreamAppender.java
> ----------------------------------------
> public static class Builder<B extends Builder<B>> extends AbstractOutputStreamAppender.Builder<B>
> implements org.apache.logging.log4j.core.util.Builder<OutputStreamAppender> {
> private Filter filter; <----------- This one is always null, even using setFilter()
> private boolean follow = false;
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)