From: Mike S. <m...@pe...> - 2002-09-22 18:46:16
|
Hi all, just found out that with the latest perl 5.8.0, one of the test cases utilizing POPULATION[x] failed because it was relying on the order of hash keys when creating the appenders via a conf file. Fixed that by introducing a by_name() method for Log::Log4perl::TestBuffer which lets you retrieve a TestBuffer by name (like "A1" in a config file). I've removed all but one instance of POPULATION[x] in the test cases, t/027Watch.t seems to need access to the latest created appender, so I left that one in. Kevin, can you please double-check? Everything else looks good, I guess we can release 0.24 soon. Changes so far: * (kg) Fix for init_and_watch and test cases * (ms) Added documentation for Log::Log4perl::Config * (ms) Added log4perl.additivity.loggerName conf file syntax * (ms) Assume Log::Log4perl::Layout prefix of 'relative' layout class names in conf file (say 'SimpleLayout' instead of 'Log::Log4perl::Layout::SimpleLayout'). * (ms) accidently appending a ';' at the end of an appender class in a conf file now spits out a reasonable error message * (ms) added a by_name() method to TestBuffer to retrieve an instance of the TestBuffer population by name instead of relying on the order of creation via POPULATION[x] (for testing only). Any comments/problems, please let me know. -- Mike -------------------------------------------------------- Mike Schilli log...@pe... http://perlmeister.com -------------------------------------------------------- |