[ https://issues.apache.org/jira/browse/LOG4J2-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453539#comment-17453539 ]
Ralph Goers commented on LOG4J2-2944: ------------------------------------- This issue is quite old and the stackoverflow articles reference Log4j 1.x yet the Jira issue lists 2.14.0 and 2.13.3. To be honest, I have no idea what the reported problem is. > 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.14.0, 2.13.3 > Reporter: Srinivas > Priority: Critical > > * 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.20.1#820001)