[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TRUNK: Log4Perl - Forgot to call init()
- Subject: TRUNK: Log4Perl - Forgot to call init()
- From: Andres Basile <..hidden..>
- Date: Fri, 16 Mar 2012 19:20:54 -0300
REV: 4488
I was getting a lot of errors on the Apace log regarding Log4Perl:
Testing I have initialized it on the handler and it worked for some modules but not for others. I was looking for a common place where paste it:
Log::Log4perl::init(\$LedgerSMB::Sysconfig::log4perl_config);
Digging I found a difference with 1.3.13 where it is working fine:
LedgerSMB/Log.pm:Log::Log4perl::init(\$LedgerSMB::Sysconfig::log4perl_config);
I didn't find the Log.pm on the SVN and just wonder why?
I'm not sure how it works, if it should be initiated on a central place for the whole ran... if each module has to instantiate its own or... if is it a bug at all...
Thanks.-