Re: Using the Log4j 1.2 bridge.

2024-02-11 Thread Piotr P. Karwasz
Hi Gary, On Sun, 11 Feb 2024 at 16:20, Gary Gregory wrote: > > To make sure I understand, you are saying the bug is in > org.apache.logging.log4j.core.Logger.setLevel(Level)? Yes, this method does not modify the `LoggerConfig`, so the children of the logger will not see the level change. It

Re: Using the Log4j 1.2 bridge.

2024-02-11 Thread Gary Gregory
To make sure I understand, you are saying the bug is in org.apache.logging.log4j.core.Logger.setLevel(Level)? Gary On Sat, Feb 10, 2024 at 5:24 PM Piotr P. Karwasz wrote: > > Hi Gary, > > On Sat, 10 Feb 2024 at 18:14, Gary Gregory wrote: > > In my branch > >

Re: Using the Log4j 1.2 bridge.

2024-02-10 Thread Gary Gregory
Thank you Piotr! I'll poke around... Gary On Sat, Feb 10, 2024, 5:24 PM Piotr P. Karwasz wrote: > Hi Gary, > > On Sat, 10 Feb 2024 at 18:14, Gary Gregory wrote: > > In my branch > https://github.com/garydgregory/commons-logging/tree/log4j1-log42-api > > I have test failures where all 6 events

Re: Using the Log4j 1.2 bridge.

2024-02-10 Thread Piotr P. Karwasz
Hi Gary, On Sat, 10 Feb 2024 at 18:14, Gary Gregory wrote: > In my branch > https://github.com/garydgregory/commons-logging/tree/log4j1-log42-api > I have test failures where all 6 events are logged instead of 4 by the > existing test that calls (mvn clean verify): Unexpected number of log >

Fwd: Using the Log4j 1.2 bridge.

2024-02-10 Thread Gary Gregory
Hi All and Piotr mostly (since you did the 2.x code in Commons Logging), [ Background: My reply https://lists.apache.org/thread/rcxkfffg9pfj9662d1fxlyo4l8cv2yyq to the post https://lists.apache.org/thread/w5yq2locvdt8yhf8k9075vgjg1kw5569 ] In my branch