Re: How to inject a dependency into a custom filter.

2021-10-22 Thread Ralph Goers
As Gary already mentioned you really should consider using Log4j’s dynamic reloading of the configuration along with support for composite configurations. I am using this at storing our log4j configuration files in a Spring Cloud Configuration Server backed by Git. We have a common log4j2.xml th

Re: How to inject a dependency into a custom filter.

2021-10-22 Thread Matt Sicker
The script filters are already dynamic for script engines. Have you looked at that? Matt Sicker > On Oct 22, 2021, at 03:22, Gary Gregory wrote: > > Why not reuse the feature that lets log4j automatically reload a > configuration file if it detects the file has changed? > > Then we only have

LOG4J2-3165 Custom line separator for throwable breaks formatting

2021-10-22 Thread Volkan Yazıcı
In LOG4J2-3165 , the user claims the interpretation of the `%throwable{separator(\r)}` pattern is broken after 2.13.1. I have spent quite some time trying to reproduce the issue, yet no luck so far. Mind anybody helping out to see if I am not missi

Re: How to inject a dependency into a custom filter.

2021-10-22 Thread Gary Gregory
Why not reuse the feature that lets log4j automatically reload a configuration file if it detects the file has changed? Then we only have to consider what kind of configuration is needed. Gary On Fri, Oct 22, 2021, 02:18 Adwait Kumar Singh < theadvaitkumarsi...@gmail.com> wrote: > This is a sam

Re: Continuous Log4j-vs-Logback benchmarks

2021-10-22 Thread Volkan Yazıcı
Hey Carter! Did you have time for this? On Fri, Oct 15, 2021 at 1:25 PM Carter Kozak wrote: > I won’t be back to a dev machine until Sunday, but I’d be happy to put > together a list at that point! > > -ck > > > On Oct 15, 2021, at 7:16 AM, Volkan Yazıcı wrote: > > > > I am looking for certain

Review request: LOG4J2-2829 SocketAppender should propagate failures when reconnection fails

2021-10-22 Thread Volkan Yazıcı
Would anybody mind reviewing #591 addressing LOG4J2-2829 , please?