logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Subroutines redifined when using Log::Log4Perl: msg#00004

Subject: Subroutines redifined when using Log::Log4Perl
Hello Gurus,
I am thinking about usingLog4Perl in my apps. I tried to start with a simple 
app just to get a feeling and I got some weird messages like
 
Subroutine import redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 69.
Subroutine initialized redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 207.
Subroutine new redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 213.
Subroutine reset redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 220.
Subroutine init_once redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 227.
Subroutine init redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 234.
Subroutine init_and_watch redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 248.
Subroutine easy_init redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 263.
Subroutine get_logger redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 337.
Subroutine appenders redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 359.
Subroutine appender_thresholds_adjust redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 365.
Subroutine appender_by_name redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 403.
Subroutine eradicate_appender redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 420.
Subroutine infiltrate_lwp redefined at 
C:/home/df/bop2/perl_MSWIN32/site/lib/Log/Log4Perl.pm line 428.

I stripped my app down to the smallest app like this:
C:\temp>C:\home\df\bop2\perl_MSWIN32\bin\perl -MLog::Log4Perl -e''
 
I have got the latest Log4Perl from ActiveState, Perl is:
 
C:\temp>C:\home\df\bop2\perl_MSWIN32\bin\perl -v
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 33 registered patches, see perl -V for more detail)
Copyright 1987-2006, Larry Wall
Binary build 819 [267479] provided by ActiveState http://www.ActiveState.com
Built Aug 29 2006 12:42:41
 
What might be different to normal perl-installations is, that this is not 
installed by msi but just copied from another machine to this. This works fine 
in all other circumstances so I guess this is not the reason.
 
Do you have any ideas what happens? 
 
Dietmar
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>