Re: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-10 Thread Jason Wen
Good to know it. Thanks! From: Pooja Pandey Date: Thursday, March 10, 2022 at 10:47 AM To: Log4J Users List Subject: Re: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge Thank you, Jason. Just an FYI, PropertyConfigurator.configure

Re: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-10 Thread Pooja Pandey
ternal Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge *** External email: Verify sender before opening attachments or links *** Here is our code snippet: public void configure(URL configURL) { System.setPr

Re: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-09 Thread Jason Wen
); context.setConfigLocation(null); } -Jason From: Pooja Pandey Date: Wednesday, March 9, 2022 at 7:50 PM To: Log4J Users List Subject: RE: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge Hi Jason, -> Our solution is to use log4j2 api to implement w

RE: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-09 Thread Pooja Pandey
Re: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge *** External email: Verify sender before opening attachments or links *** Hi Pooja, We faced the same problem that log4j1.x bridge does not support PropertyConfigurator API. See ht

Re: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-09 Thread Gary Gregory
lling the Log4j 1.x classes > DOMConfigurator or PropertyConfigurator. > Our solution is to use log4j2 api to implement what > PropertyConfigurator.configure does. > > Thanks, > Jason > > From: Gary Gregory > Date: Wednesday, March 9, 2022 at 5:13 AM > To: Log4J Users List

Re: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-09 Thread Jason Wen
to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge Hello Pooja, Please describe exactly what is happening. The information provided in too vague. I take it from previous messages that you are using Log4j 2.17.2 jars and that there are no Log4j 1 jars on your class path? A reproduced would