I suspect the lack of answer means that no one knows a way to do this, except programmatically...
Douglas E Wegscheid Lead Technical Analyst, Whirlpool Corporation (269)-923-5278 "A wrong note played hesitatingly is a wrong note. A wrong note played with conviction is interpretation." "Chris W. Dickinson" <chris.dickin...@solipsys.com> 09/08/2010 12:29 PM Please respond to "Log4J Users List" <log4j-user@logging.apache.org> To <log4j-user@logging.apache.org> cc Subject RE: Multiple Configuration Files Can anyone assist with this question? Or, if it's been answered before, at least point me in the direction of finding the answer? -Christopher -----Original Message----- From: Chris W. Dickinson Sent: Thursday, September 02, 2010 1:07 AM To: 'log4j-user@logging.apache.org' Subject: Multiple Configuration Files I am developing against a third-party Java application. This application uses the command line configuration for log4j: -Dlog4j.configuration=log.prp I do not wish to overwrite the log.prp in the application, as it would create headaches when we upgrade the core application software. However, I do wish to augment the log4j configuration to add an additional output file to capture log statements from my code separate from the core software. Is there a way to define a second property based configuration file and have the system load it upon startup? Or am I forced to make a code call to PropertyConfigurator with my configuration file? Thanks for the help. -Christopher --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org