Mikael Ståldal created LOG4J2-1792:
--------------------------------------
Summary: Support property substitution when reading Log4j 1.x
property config files
Key: LOG4J2-1792
URL: https://issues.apache.org/jira/browse/LOG4J2-1792
Project: Log4j 2
Issue Type: Sub-task
Components: Configurators
Affects Versions: 2.7
Reporter: Mikael Ståldal
I think that Log4j1ConfigurationConverter does not handle Log4j 1.x property
substitution correctly. Log4j 1.x let you override properties with Java System
Properties, but Log4j 2.x only do that when you specify ${sys:key}. Right?
So the converter needs to convert from ${key} to ${sys:key}, and also have some
logic to handle the case of default value when present.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]