Re: [log4perl-devel] activating appenders

2008-10-29 Thread Mike Schilli
On Wed, 29 Oct 2008, Erskine, Thomas (IT) wrote: > I want to be able to define an appender in the log4perl config file, > but not activated and then activate it programmatically However, > Log::Log4perl->appender_by_name('SCREENDEBUG') returns undef. > > I guess I could add SCREENDEBUG to the log4

[log4perl-devel] activating appenders

2008-10-29 Thread Erskine, Thomas (IT)
Hi folks. I want to be able to define an appender in the log4perl config file, but not activated and then activate it programmatically. I.E. I have: log4perl.logger = TRACE, FILE, SCREEN log4perl.appender.FILE = Log::Log4perl::Appender::File ... [definition snipped] log4perl.appender.SCREEN =