Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-06 Thread Ralph Goers
I have found the problem with the master branch and fixed it. As I suspected I thought I had previously fixed this but I am not sure what happened to it. The issue was simple. Log4j-layout-template-json generates plugins in both the public jar and in its tests. However, it was using the same Ja

Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-06 Thread Ralph Goers
There was one test I saw saying it couldn’t find the ListAppender. So I ran that test with -X and -Dlog4j2.debug=true and got DEBUG StatusLogger Returning AppenderRef with parent root of type AppenderRef:class org.apache.logging.log4j.core.config.AppenderRef DEBUG StatusLogger Returning root wit

Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-06 Thread Ralph Goers
I deleted the files from my local repo and restarted the build. It is running along just fine - at least until it hits json template layout. Is there a reason you use the maven wrapper instead of Maven itself? I have never used the wrapper. I am wondering if there is something going on there. R

Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-06 Thread Ralph Goers
I’ve never seen that. What is maven-annotations-production:log4j-api? Let me try removing the files from my maven local repo as you did. Ralph > On Apr 6, 2021, at 1:14 PM, Volkan Yazıcı wrote: > > As subject hints, I am not able to run tests in IDEA anymore after Java 11 > upgrade. I have de

Re: [logging-log4j2] branch release-2.x updated: LOG4J2-3004 Add plugin support to JsonTemplateLayout. (#476)

2021-04-06 Thread Volkan Yazıcı
Ralph, same here. I had tested it before pushing the commit. Now I cannot make it work either. JTL cannot find any of its plugins. Even reverting back to the point where I committed doesn't help either. I also cannot run tests in the IDE anymore, hence it is pretty difficult to debug for me. (I hav

Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-06 Thread Volkan Yazıcı
As subject hints, I am not able to run tests in IDEA anymore after Java 11 upgrade. I have deleted all IDEA related files and issued a clean Maven build: $ rm -rf ./.idea ./**/*.iml $ rm -rf ~/.m2/repository/org/apache/logging/log4j/*/3*-SNAPSHOT $ ./mvnw clean install -DskipTests=true Opened the

Re: [logging-pipelines] branch master updated: Use Java 11 for master branch

2021-04-06 Thread Matt Sicker
Oh right, that could be done various ways. I'll figure something out. Maybe the tool DSL works properly now (I think it was buggy when using parallel builds). On Tue, 6 Apr 2021 at 08:53, Apache wrote: > > Can we not require a Jenkinsfile in each project that sets properties to > control the beh

Re: Switching Spring Boot from Logback to Log4j

2021-04-06 Thread Volkan Yazıcı
Likewise, Spring is our bread and butter at bol.com. We also happen to contribute to it on an occasional basis. If there is anything that needs to be done at the Log4j side, I can easily buy some company time for that. On Tue, Apr 6, 2021 at 3:50 PM Apache wrote: > Yes, I saw the update when I w

Re: [logging-pipelines] branch master updated: Use Java 11 for master branch

2021-04-06 Thread Apache
Can we not require a Jenkinsfile in each project that sets properties to control the behavior? Ralph > On Apr 6, 2021, at 6:45 AM, Matt Sicker wrote: > > Oops, good point. I need to make the version selection a little more > sophisticated. Probably a branch or something for the shared lib. >

Re: Switching Spring Boot from Logback to Log4j

2021-04-06 Thread Apache
Yes, I saw the update when I woke up in the middle of the night. We use Spring a lot at Nextiva so making the two interoperate nicely is important to me. Ralph > On Apr 6, 2021, at 6:23 AM, Volkan Yazıcı wrote: > > For those who don't know yet, Spring Boot considers switching from Logback > t

Re: [logging-pipelines] branch master updated: Use Java 11 for master branch

2021-04-06 Thread Matt Sicker
Oops, good point. I need to make the version selection a little more sophisticated. Probably a branch or something for the shared lib. On Tue, Apr 6, 2021 at 01:56 Ralph Goers wrote: > I took care of the failure on verify. I added a clean to log4j-api so it > will clean every time. > > Ralph > >

Switching Spring Boot from Logback to Log4j

2021-04-06 Thread Volkan Yazıcı
For those who don't know yet, Spring Boot considers switching from Logback to Log4j . Ralph is performing a great lobbying example there. Recently the ticket has been updated with the following feature checks I have attached below. Spring