Re: [log4perl-devel] Bug: Wrapped logdie reports wrong file/line

2012-09-23 Thread Mike Schilli
On Tue, 18 Sep 2012, Bob Kleemann wrote: When might I expect 1.38 to be released to CPAN? I've just pushed 1.38 to CPAN, should be on your mirror soon. Also, I note that you didn't change Log::Log4perl::get_logger to use caller_depth_offset. I'm not sure if that was intentional or not.

Re: [log4perl-devel] Bug: Wrapped logdie reports wrong file/line

2012-09-18 Thread Mike Schilli
On Mon, 17 Sep 2012, Bob Kleemann wrote: It prints the write file/line on the logged message (-e:1), but not on the die message (perllib/WSL/... line 174). Hi Bob, thanks for reporting this issue, I've provided a fix here:

Re: [log4perl-devel] Bug: Wrapped logdie reports wrong file/line

2012-09-18 Thread Bob Kleemann
Yes, it appears to work for me. I've changed my caller_depth hack to only operate on versions less than 1.38. When might I expect 1.38 to be released to CPAN? Also, I note that you didn't change Log::Log4perl::get_logger to use caller_depth_offset. I'm not sure if that was intentional or not.