Re: Problems creating custom appender using JPMS service in 3.0.0-beta3

2024-11-28 Thread PavelTurk
Hi Piotr, Thank you very much for your detailed and quick help. However, to tell the truth, I’m a bit confused. I’ve been waiting for a long time for Log4j to finally work according to the JPMS rules. But in your message, you talk about compile-time and, as I understood, the use of some plugi

Re: Problems creating custom appender using JPMS service in 3.0.0-beta3

2024-11-28 Thread Piotr P. Karwasz
Hi Pavel, On 28.11.2024 15:47, PavelTurk wrote: Hello everyone. I am trying to create my own appender using JPMS service in 3.0.0-beta3. This is my code: Apparently two small bugs made their way to `3.0.0-beta3`([1] and [2]), which make compilation under JPMS challenging, but not impossibl

Problems creating custom appender using JPMS service in 3.0.0-beta3

2024-11-28 Thread PavelTurk
Hello everyone. I am trying to create my own appender using JPMS service in 3.0.0-beta3. This is my code: import org.apache.logging.log4j.core.Appender; import org.apache.logging.log4j.core.Filter; import org.apache.logging.log4j.core.Layout; import org.apache.logging.log4j.core.LogEvent; impor

Re: There is no log4j-slf4j2-impl in 3.0.0-beta3

2024-11-28 Thread Piotr P. Karwasz
Hi Pavel, On 28.11.2024 13:47, PavelTurk wrote: Thank you very much for your help. I've understood how it works. I just wonder did you decide to go this way because you plan to continue version 2? In January this year we decided not to continue the development of Log4j API 3. The reason fo

Re: There is no log4j-slf4j2-impl in 3.0.0-beta3

2024-11-28 Thread PavelTurk
Hi Piotr, Thank you very much for your help. I've understood how it works. I just wonder  did you decide to go this way because you plan to continue version 2? Best regards, Pavel On 11/28/24 13:40, Piotr P. Karwasz wrote: Hi Pavel, On 28.11.2024 11:36, PavelTurk wrote: I work only with JP

Re: There is no log4j-slf4j2-impl in 3.0.0-beta3

2024-11-28 Thread Piotr P. Karwasz
Hi Pavel, On 28.11.2024 11:36, PavelTurk wrote: I work only with JPMS and decided to test log4j 3. As I understand the last version is 3.0.0-beta3 but there is no log4j-slf4j2-impl  for this version: https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j2-impl Could anyone

There is no log4j-slf4j2-impl in 3.0.0-beta3

2024-11-28 Thread PavelTurk
Hello everyone. I work only with JPMS and decided to test log4j 3. As I understand the last version is 3.0.0-beta3 but there is no log4j-slf4j2-impl  for this version: https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j2-impl Could anyone say how to route slf4j2 messages to