You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Alex O'Ree <al...@apache.org> on 2017/11/23 13:00:22 UTC

log4j2 properties config?

Did log4j 2 drop support for the properties based configuration file?

Re: log4j2 properties config?

Posted by Gary Gregory <ga...@gmail.com>.
There is a compatibility layer for v1.2 prop file. You have to call it
explicitly though. I am AFK so you'll have to dig in to do it.

Gary

On Nov 23, 2017 08:00, "Alex O'Ree" <al...@apache.org> wrote:

> Did log4j 2 drop support for the properties based configuration file?
>

Re: log4j2 properties config?

Posted by Alex O'Ree <al...@apache.org>.
thanks!

On Thu, Nov 23, 2017 at 11:33 AM, Mikael Ståldal <mi...@apache.org> wrote:

> Log4j 2 has properties based configuration (since version 2.4), but it is
> a different format than Log4j 1.x, not compatible.
>
> https://logging.apache.org/log4j/2.x/manual/configuration.html#Properties
>
>
> On 2017-11-23 14:00, Alex O'Ree wrote:
>
>> Did log4j 2 drop support for the properties based configuration file?
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

Re: log4j2 properties config?

Posted by Mikael Ståldal <mi...@apache.org>.
Log4j 2 has properties based configuration (since version 2.4), but it 
is a different format than Log4j 1.x, not compatible.

https://logging.apache.org/log4j/2.x/manual/configuration.html#Properties


On 2017-11-23 14:00, Alex O'Ree wrote:
> Did log4j 2 drop support for the properties based configuration file?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org