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
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
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:
>>
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
>>
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
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
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