Re: [log4j] Toward 3.0

2018-11-17 Thread Remko Popma
Would it be an idea to drop support for ThreadContext.ContextStack altogether in log4j 3? Remko. (Shameless plug) Every java main() method deserves http://picocli.info > On Nov 18, 2018, at 4:25, Volkan Yazıcı wrote: > > ThreadContext.ContextStack

Re: [log4j] Toward 3.0

2018-11-17 Thread Gary Gregory
Patches are welcome! :-) Gary On Sat, Nov 17, 2018, 12:26 Volkan Yazıcı One more feature request: > > *Garbage-free ThreadContext Map and Stack Accessors* > > I do not have the complete view of what it looks like under > the hood, but to the best of my knowledge > >- ThreadContext.ContextSta

Re: [log4j] Toward 3.0

2018-11-17 Thread Gary Gregory
The master branch is already on Java 8. Gary On Sat, Nov 17, 2018, 12:23 Volkan Yazıcı AsyncAppender can very well leverage this. Am I missing > something? For the ones that do not implement these two > methods, we can define a default interface method for > them -- given log4j3 will target Java

Re: [log4j] Toward 3.0

2018-11-17 Thread Volkan Yazıcı
One more feature request: *Garbage-free ThreadContext Map and Stack Accessors* I do not have the complete view of what it looks like under the hood, but to the best of my knowledge - ThreadContext.ContextStack does not provide any garbage-free iteration methods. - LogEvent#getContextDat

Re: [log4j] Toward 3.0

2018-11-17 Thread Volkan Yazıcı
AsyncAppender can very well leverage this. Am I missing something? For the ones that do not implement these two methods, we can define a default interface method for them -- given log4j3 will target Java 8+. On Sat, Nov 17, 2018 at 1:27 AM Ralph Goers wrote: > > > > On Nov 16, 2018, at 1:14 PM,