On 09/28/2011 11:04 PM, Mike Schilli wrote: > If you want to bump up the caller level, you should be using > wrapper_register() or $Log::Log4perl::caller_depth as explained here: > http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl.pm#Using_Log::Log4perl_with_wrapper_functions_and_classes
Yes. On 09/28/2011 11:04 PM, Mike Schilli wrote: > On Wed, 28 Sep 2011, David Christensen wrote: >> Ok. I've upgraded my wrapper functions to use caller() when calling >> get_logger(). > That doesn't sound right. My wrappers now call, in effect: get_logger('caller.package.subroutine.line') This should give me more opportunities to use categories. David ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel