|
From: Emil J. <ej...@gm...> - 2008-02-20 21:12:54
|
Hi,
With the latest version 1.15, in a specific scenario, warning messages
are printed on the standard error.
It was not happening with 1.14 and before.
Here is a test case:
------------------------------------------------------------------------------------
$ cat tst_log.pl
#!/usr/bin/perl
use strict;
use Log::Log4perl qw(get_logger :levels);
my $config_file = 'logger.conf';
Log::Log4perl->init($config_file);
my $logger = get_logger(undef);
$logger->info('info_message_1');
exit;
$ tst_log.pl
Use of uninitialized value in string eq at
/usr/local/share/perl/5.8.8/Log/Log4perl.pm line 360.
Use of uninitialized value in string eq at
/usr/local/share/perl/5.8.8/Log/Log4perl/Logger.pm line 560.
$ cat t.log
2008/02/20 16:04:11 INFO> tst_log.pl:12 main:: - info_message_1
$
------------------------------------------------------------------------------------
Test script and the configuration file are attached.
Aside the messages on the STDERR, functionality is not affected.
Thanks in advance,
Emil
--
Emil Janev
|