Mauricio lopez created LOG4J2-3096:
--------------------------------------

             Summary: How to make log4j2 custom filter objects don't work when 
used context-wide
                 Key: LOG4J2-3096
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3096
             Project: Log4j 2
          Issue Type: Bug
          Components: Filters
    Affects Versions: 2.14.1
            Reporter: Mauricio lopez


Better described in [https://stackoverflow.com/q/67712907/9721979.]

But in summary, I'm unable to make log4j2 actually call the filters when they 
are on a context-wide level, contrary to the default/included ones.

Basically, set up a threshold custom filter, as the example one (which has the 
same behavior as the default one). When we put the custom one in the 
context-wide location, in <configuration> tag in log4j2, I see via debugger 
that the "filter" function isn't even called, but it is being called if using 
the one included in log4j2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to