Srinivas created LOG4J2-2944:
--------------------------------
Summary: Add support for copying one appender to another.
Key: LOG4J2-2944
URL: https://issues.apache.org/jira/browse/LOG4J2-2944
Project: Log4j 2
Issue Type: New Feature
Components: Appenders
Affects Versions: 2.13.3, 2.14.0
Reporter: Srinivas
* Currently the copying of one appender to another in the log4j.properties file
is not supported.
* One can copy the properties by referencing them like so
${log4j.appender.INFOLOGGER}
* However each property will have to be referenced like so and copied to the
corresponding one in the new appender.
* We need to have a operation like so: log4j.appender.newone =
^log4j.appender.oldone which copies all existing properties of the old
appender.
*
[https://stackoverflow.com/questions/28624688/log4j-create-another-appender-with-same-properties]
*
[https://stackoverflow.com/questions/22250968/how-best-to-copy-a-configured-log4j-appender]
*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)