From: Mike S. <m...@pe...> - 2004-10-19 05:14:49
|
On Sun, 17 Oct 2004, Mike Schilli wrote: > Log4perl is highly optimized for speed, so if you change a level manually, > it has to redo its optimizations. Here's a (undocumented) way to do that: > > use Log::Log4perl qw(:levels); > # ... > my $logger = Log::Log4perl->get_logger('Hob.Harvester'); > $logger->level($DEBUG); > $logger->set_output_methods; Upon further review, you can skip the "set_output_methods" part. That's done by level() already. Sorry for the confusion! -- Mike Mike Schilli m...@pe... |