logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remko Popma <remko.po...@gmail.com>
Subject Re: how to set log4j2 xml config location
Date Tue, 13 May 2014 08:36:16 GMT
Take a look here:

On Tue, May 13, 2014 at 2:20 PM, zafer aydin <zaferaydn@hotmail.com> wrote:

> Hello,
> In my Java application, I created an xml configuration file named
> "log4j2.xml" and put it under "Default Package". It works as expected.Now I
> want to change this location but I can't not do it. It seems that in
> previous version (log4j) it was possible to set xml config file location by
> "DOMConfigurator.configure" but with "log4j2" I cannot find similar
> function.How can I set the xml config file location in log4j2?
> Thanks.
> Zafer AYDIN

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message