Re: ETA for 2.19.1?

2022-11-13 Thread Piotr P. Karwasz
Hi Jeff,

On Fri, 11 Nov 2022 at 15:58,  wrote:
> I just discovered the Junit hooks and have been using them out in my test 
> code - nice way of testing logging with a clean context.

Can you provide an example on how you use the JUnit extensions in your
application test code?

The JUnit extensions used in Log4j2 are mostly useless, when testing
applications: applications usually use static loggers (Log4j2
internally only uses StatusLogger), which will be bound to the logger
context used at the moment of their static initialization. Subsequent
LoggerContext reloads (as those caused by @LoggerContextSource) are
useless.

The only component that can be used to test applications is the ListAppender.

Piotr

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



AW: ETA for 2.19.1?

2022-11-11 Thread Jeffrey.Thomas
Hi Ralph,

Thanks for the answer. 

Yeah not a lot of fixes (one was for me) but it seems there was a major 
refactoring of test-code into standalone JARs... 

I just discovered the Junit hooks and have been using them out in my test code 
- nice way of testing logging with a clean context.  

With 2.19.1 I wouldn't need to go back and change the dependencies again 
later...   But I can still get at them with the current 2.19.0 
"log4j-core:tests" dependency.

Cheers, Jeff


-Ursprüngliche Nachricht-
Von: Ralph Goers  
Gesendet: Donnerstag, 10. November 2022 16:39
An: Log4J Users List 
Betreff: Re: ETA for 2.19.1?

There have only been 2 issues fixed since 2.19.0 was released 2 months ago.  I 
normally wouldn’t perform a release for so few non-critical changes after such 
a short period of time.

Ralph

> On Nov 10, 2022, at 1:10 AM, jeffrey.tho...@t-systems.com wrote:
> 
> Hallo Log4j Team,
> 
> any rough ETA on when a 2.19.1 release might take place?
> 
> On one of my tickets I was told by the developer that you are all very busy 
> working on 3.x so I should give a shout out here for a little 2.x love. 
> 
> Cheers, Jeff
> 


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


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



Re: ETA for 2.19.1?

2022-11-10 Thread Ralph Goers
There have only been 2 issues fixed since 2.19.0 was released 2 months ago.  I 
normally wouldn’t perform a release for so few non-critical changes after such 
a short period of time.

Ralph

> On Nov 10, 2022, at 1:10 AM, jeffrey.tho...@t-systems.com wrote:
> 
> Hallo Log4j Team,
> 
> any rough ETA on when a 2.19.1 release might take place?
> 
> On one of my tickets I was told by the developer that you are all very busy 
> working on 3.x so I should give a shout out here for a little 2.x love. 
> 
> Cheers, Jeff
> 


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



ETA for 2.19.1?

2022-11-10 Thread Jeffrey.Thomas
Hallo Log4j Team,

any rough ETA on when a 2.19.1 release might take place?

On one of my tickets I was told by the developer that you are all very busy 
working on 3.x so I should give a shout out here for a little 2.x love. 

Cheers, Jeff