From: Mike S. <m...@pe...> - 2007-05-02 22:14:29
|
On Wed, 2 May 2007, Lee Goddard wrote: > Some of my apps have an inline Log4perl configuration, which some > routines and external tests would like to change - nothing big, just a > change to which modules/components report, and/or which log levels are > active. There's ways to modify an existing Log4perl configuration after it has been initialized, e.g. see http://log4perl.sourceforge.net/d/Log/Log4perl/FAQ.html#92664 on how to modify an appender or http://log4perl.sourceforge.net/d/Log/Log4perl.html#1d6b5 on modifying the configuration. I don't know your specific requirements, but I bet that you could accomplish what you need with a configuration file/variable using dynamic values: http://log4perl.sourceforge.net/d/Log/Log4perl.html#5b4c0 -- Mike Mike Schilli m...@pe... |