JDK loglevel can not be configured with log4j2 properties

Description

When using log4j2 with paxlogging, the log level is not adapted to the log levels of the log4j2 properties in the config file.

This is due to PaxLoggingServiceImpl still using old log4j properties to retrieve and set the JULLevel of the JULLoggers and not taking into account the log levels of the log4j2 properties:

Environment

None

Activity

Show:
Grzegorz Grzybek
June 7, 2017, 2:50 PM

Fixed here.

Grzegorz Grzybek
June 7, 2017, 2:53 PM

It wasn't straightforward change.
In log4j1, you have:

In log4j2. you have:

Assignee

Grzegorz Grzybek

Reporter

Niels Berghen

Fix versions

Labels

None

Priority

Major
Configure