From: Mike Schilli [mailto:[EMAIL PROTECTED] > On Thu, 16 Aug 2007, Lee Goddard wrote: > > > Sometimes I need to just see the logging from a specific > > method/subroutine/function. > > > > I realize I can change the log levels within that block of code, but > > it would be convenient to be able to say > > log4perl.category.bar.twix.eat to just see the logging from > > Bar::Twix's 'eat' method. Would it be a bad idea to incorporate this? > > Does this third-party CPAN module solve the problem? > > http://search.cpan.org/dist/Log-Log4perl-AutoCategorize/
It may well do, thanks Mike: I'll try it. Does look a little heavy, though, but I will wait to see if I need this functionality again before sub-classing L4p or supply patches that maybe nobody else will ever need! Cheers Lee ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel