Re: Optional dependencies in `log4j-core` 3.x

2023-06-19 Thread Ralph Goers
Yeah, that is a good point. Ralph > On Jun 19, 2023, at 1:38 PM, Gary Gregory wrote: > > It also feels to magical to me especially in large software stacks where > asynchronous logging could be enabled just because some transitive > dependency brings in a jar. Worse, that jar could be brought i

Re: Optional dependencies in `log4j-core` 3.x

2023-06-19 Thread Gary Gregory
It also feels to magical to me especially in large software stacks where asynchronous logging could be enabled just because some transitive dependency brings in a jar. Worse, that jar could be brought in even if declared optional. Some of this depending how a final application is delivered on disk

Re: Optional dependencies in `log4j-core` 3.x

2023-06-19 Thread Ralph Goers
If it were possible, I do wish the async logger stuff could be in a separate maven module. In some ways it could be simpler by just having everything be async by default if the module is present. However, I suspect that being able to do this would require more time than any of us has. Ralph >

Re: Optional dependencies in `log4j-core` 3.x

2023-06-19 Thread Ralph Goers
Your proposals make sense to me. Ralph > On Jun 19, 2023, at 4:24 AM, Piotr P. Karwasz wrote: > > Hi all, > > While the list of optional dependencies in `log4j-core` version 3.x is > much shorter than the one in the 2.x series, we could probably still > improve it a bit: > > * we could remov

Re: Optional dependencies in `log4j-core` 3.x

2023-06-19 Thread Piotr P. Karwasz
Hi Gary, On Mon, 19 Jun 2023 at 15:01, Gary Gregory wrote: > > I like the idea of not having any optional dependencies by using Maven > modules. I would also like to remove optional dependencies entirely from the published POM, but I think it is impossible with the current Maven plugins. My pro

Re: Optional dependencies in `log4j-core` 3.x

2023-06-19 Thread Gary Gregory
I like the idea of not having any optional dependencies by using Maven modules. Gary On Mon, Jun 19, 2023, 07:24 Piotr P. Karwasz wrote: > Hi all, > > While the list of optional dependencies in `log4j-core` version 3.x is > much shorter than the one in the 2.x series, we could probably still >

Optional dependencies in `log4j-core` 3.x

2023-06-19 Thread Piotr P. Karwasz
Hi all, While the list of optional dependencies in `log4j-core` version 3.x is much shorter than the one in the 2.x series, we could probably still improve it a bit: * we could remove `jansi`. Since Windows 10 the terminal supports standard ANSI escapes[1]. On the other hand we broke JANSI suppo

Re: [VOTE] Release Apache Log4j 3.0.0-alpha1-rc2

2023-06-19 Thread Piotr P. Karwasz
Hi Ralph, On Sun, 18 Jun 2023 at 05:17, Ralph Goers wrote: > > This is a vote to release Log4j 3.0.0-alpha, the first release the Log4j 3.x > series. > > Please download, test, and cast your votes on the log4j developers list. > [] +1, release the artifacts > [] -1, don't release because... > >