Re: [log4perl-devel] Small issue with Log::Log4perl 1.15

2008-02-21 Thread Mike Schilli
On Thu, 21 Feb 2008, Emil Janev wrote: > The problem certainly can be fixed with providing a default value of > this parameter of an empty string, > if an 'undef' value gets trough. Passing on the arg list from the wrapper to the Log4perl log call is probably the easiest solution: sub wrappe

Re: [log4perl-devel] Small issue with Log::Log4perl 1.15

2008-02-20 Thread Mike Schilli
On Wed, 20 Feb 2008, Emil Janev wrote: > my $logger = get_logger(undef); That's an interesting case. While # get a logger for the current package get_logger() and # get the root logger get_logger("") are defined cases, using 'undef' as in get_logger( undef ) isn't de

[log4perl-devel] Small issue with Log::Log4perl 1.15

2008-02-20 Thread Emil Janev
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