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/

-- Mike

Mike Schilli
[EMAIL PROTECTED]

-------------------------------------------------------------------------
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

Reply via email to