The following attached patch enables more than one configurator to be used on initialization, and allows for some environment specific functionality through substituting system properties. This is a donation to the ASF. The patch consists of two classes in the org.apache.log4j.spi package and a smattering of unit tests. Please apply this patch to the following subversion path: http://svn.apache.org/repos/asf/logging/log4j/companions/extras/trunk
Created attachment 21098 [details] SVN patch for layered-configurator code.
See the assigned URL for more information.
One improvement to the patch could be to use the pluggable property resolver defined in bug 43619.