From: Lee G. <LGo...@UK...> - 2007-05-03 08:37:38
|
Looks like the just the ticket, thanks very much, and so for not finding it myself... Lee > -----Original Message----- > From: Mike Schilli [mailto:m...@pe...] > Sent: 02 May 2007 23:14 > To: Lee Goddard > Cc: log...@li... > Subject: Re: [log4perl-devel] Adjust config at runtime? >=20 > On Wed, 2 May 2007, Lee Goddard wrote: >=20 > > 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. >=20 > There's ways to modify an existing Log4perl configuration after it > has been initialized, e.g. see >=20 > http://log4perl.sourceforge.net/d/Log/Log4perl/FAQ.html#92664 >=20 > on how to modify an appender or >=20 > http://log4perl.sourceforge.net/d/Log/Log4perl.html#1d6b5 >=20 > 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: >=20 > http://log4perl.sourceforge.net/d/Log/Log4perl.html#5b4c0 >=20 > -- Mike >=20 > Mike Schilli > m...@pe... |