From: Bart P. <ba...@la...> - 2004-12-15 16:51:23
|
On Tue, 14 Dec 2004, Mike Schilli wrote: > On Sun, 12 Dec 2004, Kevin M. Goess wrote: > >>> Is there a clean way to remove appenders at runtime? > >> Not currently, that I know of anyway. > > Nope, looks like we need to add one. That would be great. > For now, could you use Log::Log4perl::Appender::File's file_switch() > method instead? For the short term this is fine. I'm actually reusing my own subclass under Log::Dispatch::Output(?) so I could add something similar there. The main issue is that I may have multiple log files files that need to be opened at the same time (i.e. so it's not exactly like a log file that is periodically switched). Thanks, Bart |