Re: Problem spliting file by logging level.
"Piotr P. Karwasz" <[email protected]> Tue, 14 Jan 2025 23:46:00 +0100
| Newsgroups | gmane.comp.jakarta.log4j.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Steven, On 14.01.2025 23:29, Nelligan, Steven M wrote: > Because of the java 7 limitation, I am using log4j2 version 2.12.1. You should really upgrade to version 2.12.4, since 2.12.1 is affected by at least 5 CVEs. > Is there another option/method available to handle this? You can replace `LevelMatchFilter` with a `LevelRangeFilter`[1] (see also this SO question[2]): <LevelRangeFilter minLevel="DEBUG" maxLevel="DEBUG"/> Piotr [1] https://logging.apache.org/log4j/2.x/manual/filters.html#LevelRangeFilter [2] https://stackoverflow.com/q/24695133/11748454