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


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to