Nasty surprise in 2.18.0

2022-07-21 Thread Gary Gregory
Hi All, I just got an unfortunate surprise after updating to 2.18.0. A user reported that our app broke this like (edited to hide some stuff): 2022-07-21 09:08:31,010 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.ConsoleAppender for element Console: java.

Re: Nasty surprise in 2.18.0

2022-07-21 Thread Piotr P. Karwasz
Hi Gary, > The script that starts our app uses an environment variable called > LOG4J and starting with 2.18.0, Log4j puts the content of this > environment variable in ALL system properties. > > Thoughts? Sorry, I must have broken it while fixing LOG4J-3413. The ConsoleAppender is actually calli

Re: Nasty surprise in 2.18.0

2022-07-21 Thread Gary Gregory
Hi Piotr, Thank you so much for the quick analysis! Gary On Thu, Jul 21, 2022, 17:35 Piotr P. Karwasz wrote: > Hi Gary, > > > The script that starts our app uses an environment variable called > > LOG4J and starting with 2.18.0, Log4j puts the content of this > > environment variable in ALL s