Configure composite filter for specific logger in Log4j2 via properties file
Stamatis Zampetakis <[email protected]>
| Newsgroups | gmane.comp.apache.logging.log4net.devel,gmane.comp.jakarta.log4j.user |
|---|---|
| Message-ID | <CAFQnWdairNwy9+zaNvtv1zLRC1KcgDQM+Q8ApzM7g8eBt2Tm7w@mail.gmail.com> |
Hi all, After many unsuccessful attempts to configure a composite filter for a specified logger [1] using the property syntax, I posted the following question on stackoverflow [2]. In [1], I tried to create a unit test simulating what I would like to achieve but didn't manage to make it work yet. I searched in the code to find examples of how this can be done but couldn't find any. Any feedback would be much appreciated! Best, Stamatis [1] https://github.com/zabetak/logging-log4j2/commit/a9944885100db42f7e3ba1b3ff81d59b743d0ab7 [2] https://stackoverflow.com/questions/71719354/configure-composite-filter-for-specific-logger-in-log4j2-via-properties-file