From: Mike S. <m...@pe...> - 2006-02-26 16:55:14
|
Hi all, just submitted the 1.04 maintenance release to log4perl.sf.net, with the following changes: 1.04 2006/02/26 * (ms) If a conversion pattern was specified twice in a config file, the output was "ARRAY(0x804da00)" (bug reported by Bill Mason). Now, gobbling up property configurator values into an array is limited to appender properties and excludes the conversion pattern. * (ms) Multiple calls to import (usually happens if 'use L4p' gets called twice within the same namespace) caused nasty warnings, bug reported by Greg Olszewski. Fixed by ignoring subsequent calls from the same package to import(). * (ms) Changed rendering of logdie/warn/cluck/croak/... messages to fix a bug reported by Martin J. Evans. * (ms) Added a L4p::Appender::String appender to handle the rendering internally. * (ms) Documentation patch by Matisse Enzer on increased/ decreased log levels. * (ms) Fixed stack trace level of logcarp() * (ms) Carl Franks reported that the test suite failed on WinXP SP2 because of a hardcoded /tmp - fixed by File::Spec->tempdir(). * (ms) Added reconnect_attempts and reconnect_sleep parameters to DBI appender. If all goes well, it'll be on CPAN in a couple of days. Enjoy! -- Mike Mike Schilli m...@pe... |
From: Lars T. <la...@th...> - 2006-04-21 10:37:03
|
Mike Schilli wrote: > just submitted the 1.04 maintenance release to log4perl.sf.net, with > the following changes: Running the test suite under perl 5.6.2, I get 3 of the cases failing with this: --cut-- Can't locate object method "SWASHNEW" via package "utf8" (perhaps you forgot to load "utf8"?) at blib/lib/Log/Log4perl/Config/DOMConfigurator.pm line 270. --cut-- I can make this go away by adding "use utf8;" just before the offending line, but I'm sure there is a better way. And why these tests passes on 5.005_03 and 5.8.8, but fails on 5.6.2, I have no idea. Can anybody shed more light on this? /Lars |
From: Kevin M. G. <ke...@go...> - 2006-04-26 15:28:40
|
Lars Thegler wrote: > Running the test suite under perl 5.6.2, I get 3 of the cases failing > with this: > > --cut-- > Can't locate object method "SWASHNEW" via package "utf8" (perhaps you > forgot to load "utf8"?) at > blib/lib/Log/Log4perl/Config/DOMConfigurator.pm line 270. > --cut-- > > I can make this go away by adding "use utf8;" just before the offending > line, but I'm sure there is a better way. > > And why these tests passes on 5.005_03 and 5.8.8, but fails on 5.6.2, I > have no idea. No problems for me on perl 5.6.1. It sounds like it could be a problem in XML::DOM, which version of that are you using? (I used 1.29). |
From: Lars T. <la...@th...> - 2006-04-27 07:03:57
|
Kevin M. Goess wrote: > Lars Thegler wrote: >> Running the test suite under perl 5.6.2, I get 3 of the cases failing >> with this: >> >> --cut-- >> Can't locate object method "SWASHNEW" via package "utf8" (perhaps you >> forgot to load "utf8"?) at >> blib/lib/Log/Log4perl/Config/DOMConfigurator.pm line 270. >> --cut-- >> >> I can make this go away by adding "use utf8;" just before the offending >> line, but I'm sure there is a better way. >> >> And why these tests passes on 5.005_03 and 5.8.8, but fails on 5.6.2, I >> have no idea. > > No problems for me on perl 5.6.1. It sounds like it could be a problem > in XML::DOM, which version of that are you using? (I used 1.29). Ah, good point. I'm using the current version on CPAN, which is 1.44. 1.29 is ancient, released sometime back in 2001. Maybe that is why your tests are passing? /Lars |
From: Lars T. <la...@th...> - 2006-05-29 14:13:33
|
Lars Thegler wrote: > Kevin M. Goess wrote: >> Lars Thegler wrote: >>> Running the test suite under perl 5.6.2, I get 3 of the cases failing >>> with this: >>> >>> --cut-- >>> Can't locate object method "SWASHNEW" via package "utf8" (perhaps you >>> forgot to load "utf8"?) at >>> blib/lib/Log/Log4perl/Config/DOMConfigurator.pm line 270. >>> --cut-- >>> >>> I can make this go away by adding "use utf8;" just before the offending >>> line, but I'm sure there is a better way. >>> >>> And why these tests passes on 5.005_03 and 5.8.8, but fails on 5.6.2, I >>> have no idea. >> >> No problems for me on perl 5.6.1. It sounds like it could be a >> problem in XML::DOM, which version of that are you using? (I used 1.29). > > Ah, good point. I'm using the current version on CPAN, which is 1.44. > 1.29 is ancient, released sometime back in 2001. Maybe that is why your > tests are passing? Is there any chance that I could get you to check up on your XML::DOM version, and rerun the tests with the latest XML::DOM? /Lars |
From: Kevin M. G. <kn...@go...> - 2006-06-01 06:27:37
|
On May 29, 2006, at 7:13 AM, Lars Thegler wrote: > Lars Thegler wrote: >> Kevin M. Goess wrote: >>> Lars Thegler wrote: >>>> Running the test suite under perl 5.6.2, I get 3 of the cases >>>> failing >>>> with this: >>>> >>>> --cut-- >>>> Can't locate object method "SWASHNEW" via package >>>> "utf8" (perhaps you >>>> forgot to load "utf8"?) at >>>> blib/lib/Log/Log4perl/Config/DOMConfigurator.pm line 270. >>>> --cut-- >>>> >>>> I can make this go away by adding "use utf8;" just before the >>>> offending >>>> line, but I'm sure there is a better way. >>>> >>>> And why these tests passes on 5.005_03 and 5.8.8, but fails on >>>> 5.6.2, I >>>> have no idea. >>> >>> No problems for me on perl 5.6.1. It sounds like it could be a >>> problem in XML::DOM, which version of that are you using? (I used >>> 1.29). >> >> Ah, good point. I'm using the current version on CPAN, which is 1.44. >> 1.29 is ancient, released sometime back in 2001. Maybe that is why >> your >> tests are passing? > > Is there any chance that I could get you to check up on your XML::DOM > version, and rerun the tests with the latest XML::DOM? Sorry for the delay. I just upgraded XML::DOM to 1.44 on my ancient perl 5.6.1 instance, and the tests run without a problem. This is log4perl v. 1.05, not 1.04 like you mentioned before. Maybe that's the problem? I don't know what else to suggest right now. I can try installing perl 5.6.2, but not right now, I have to go to sleeeeeeeppp......zzzzzzz -- Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |
From: Lars T. <la...@th...> - 2006-06-01 11:34:53
|
Kevin M. Goess wrote: > Sorry for the delay. I just upgraded XML::DOM to 1.44 on my ancient > perl 5.6.1 instance, and the tests run without a problem. > > This is log4perl v. 1.05, not 1.04 like you mentioned before. Maybe > that's the problem? I don't know what else to suggest right now. I can Is 1.05 available anywhere? I notice it's not (yet) on neither SourceForge nor CPAN. I'd like to try out whether this fixes the issue. Otherwise, the only remaining thing to try is the 5.6.1/5.6.2 perl version. /Lars |