You should have to options that should work out of the box. I don't
understand your needs enough to suggest which one would work better.
First, DOMConfiguration.configure and PropertyConfigure.configure do
not reset the configuration before loading the configuration file.
This basically means that if you explicitly call configure for both
files, it is as if you have combined them into one file.
Second, XML has an built-in "include" mechanism called external
entities. Earlier versions of log4j had a problem that kept it from
working, but you could use this to construct a configuration from
multiple modules. Something like:
<!DOCTYPE log4j:configuration SYSTEM 'log4j.dtd' [
<!ENTITY base_config SYSTEM 'base_config.xml'>
]>
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!-- include base configuration -->
&base_config;
<!-- custom configuration goes here -->
</log4j:configuration>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]