Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-11 Thread Gary Gregory
or throw exception... > > Sent from my iPhone > > On Apr 12, 2017, at 9:13, Gary Gregory wrote: > > Hi All: > > Using 2.8.2, I call > org.apache.logging.log4j.core.config.Configurator.initialize(String, > String) with a non-exiting file location. > > The method does not return null because it found another log4j2.xml f

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-11 Thread Ralph Goers
t;> return null or throw exception... >>> >>> Sent from my iPhone >>> >>> On Apr 12, 2017, at 9:13, Gary Gregory >> <mailto:garydgreg...@gmail.com>> wrote: >>> >>>> Hi All: >>>> >>>> Using 2.8.2, I call

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-11 Thread Remko Popma
ializeStrict(String, String)` which fails if the >> specified file doesn't exist? Not sure what the best way to fail is: return >> null or throw exception... >> >> Sent from my iPhone >> >>> On Apr 12, 2017, at 9:13, Gary Gregory wrote: >>

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-11 Thread Ralph Goers
wrote: >> >> Hi All: >> >> Using 2.8.2, I call >> org.apache.logging.log4j.core.config.Configurator.initialize(String, String) >> with a non-exiting file location. >> >> The method does not return null because it found another log4j2.xml file on >>

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-11 Thread Remko Popma
ption... Sent from my iPhone > On Apr 12, 2017, at 9:13, Gary Gregory wrote: > > Hi All: > > Using 2.8.2, I call > org.apache.logging.log4j.core.config.Configurator.initialize(String, String) > with a non-exiting file location. > > The method does not return null bec

org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-11 Thread Gary Gregory
Hi All: Using 2.8.2, I call org.apache.logging.log4j.core.config.Configurator.initialize(String, String) with a non-exiting file location. The method does not return null because it found another log4j2.xml file on my classpath. So I get a LoggerContext but not what I expect... That does not

What is the name in org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2015-08-20 Thread Gary Gregory
It's not clear to me what the point of having a name for org.apache.logging.log4j.core.config.Configurator.initialize(String, String) does. When I follow the code, it does not seem to be used. What am I missing? Thank you, Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org