RE: log4j2 - Logger does not have the configuration If procured before LoggerContext has initialized

2016-11-30 Thread Tarun Sharma
iteration. Regards, Tarun -Original Message- From: Apache [mailto:ralph.go...@dslextreme.com] Sent: Wednesday, November 30, 2016 8:09 PM To: Log4J Users List Subject: Re: log4j2 - Logger does not have the configuration If procured before LoggerContext has initialized Remko, since he is using

Re: log4j2 - Logger does not have the configuration If procured before LoggerContext has initialized

2016-11-30 Thread Apache
properties read from a >> properties file. >> >> >> Regards, >> Tarun >> >> >> -Original Message----- >> From: Mikael Ståldal [mailto:mikael.stal...@magine.com] >> Sent: Wednesday, November 30, 2016 2:11 PM >> To: Log4J

Re: log4j2 - Logger does not have the configuration If procured before LoggerContext has initialized

2016-11-30 Thread Remko Popma
> From: Mikael Ståldal [mailto:mikael.stal...@magine.com] > Sent: Wednesday, November 30, 2016 2:11 PM > To: Log4J Users List > Subject: Re: log4j2 - Logger does not have the configuration If procured > before LoggerContext has initialized > > Any particular reason for not usin

RE: log4j2 - Logger does not have the configuration If procured before LoggerContext has initialized

2016-11-30 Thread Tarun Sharma
perties file. Regards, Tarun -Original Message- From: Mikael Ståldal [mailto:mikael.stal...@magine.com] Sent: Wednesday, November 30, 2016 2:11 PM To: Log4J Users List Subject: Re: log4j2 - Logger does not have the configuration If procured before LoggerContext has initialized Any par

Re: log4j2 - Logger does not have the configuration If procured before LoggerContext has initialized

2016-11-30 Thread Jochen Wiedmann
On Wed, Nov 30, 2016 at 9:41 AM, Mikael Ståldal wrote: > Any particular reason for not using a configuration file? Do you have reason to believe, that this would change the behaviour? -- The next time you hear: "Don't reinvent the wheel!" http://www.keystonedevelopment.co.uk/wp-content/uploa

Re: log4j2 - Logger does not have the configuration If procured before LoggerContext has initialized

2016-11-30 Thread Mikael Ståldal
Any particular reason for not using a configuration file? On Wed, Nov 30, 2016 at 5:31 AM, Tarun Sharma wrote: > Hi, > > > > While upgrading from 1.2.17 to 2.5, I have come across a major > difference. Please see following code snippets. > > > > Log4j1.2.17 > > private static final Logger LOGG