Details
-
New Feature
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
2.14.0, 2.13.3
-
None
-
None
Description
- 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
*