[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5914] trunk/old-handler.pl



Revision: 5914
          http://sourceforge.net/p/ledger-smb/code/5914
Author:   tshvr
Date:     2013-07-22 19:58:17 +0000 (Mon, 22 Jul 2013)
Log Message:
-----------
init + move up logger

Modified Paths:
--------------
    trunk/old-handler.pl

Modified: trunk/old-handler.pl
===================================================================
--- trunk/old-handler.pl	2013-07-22 19:43:53 UTC (rev 5913)
+++ trunk/old-handler.pl	2013-07-22 19:58:17 UTC (rev 5914)
@@ -46,6 +46,9 @@
 #
 #######################################################################
 
+our $logger=Log::Log4perl->get_logger('old-handler-chain');#make logger available to other old programs
+Log::Log4perl::init(\$LedgerSMB::Sysconfig::log4perl_config);
+
 # Clearing all namespaces for persistant code use
 for my $nsp (qw(lsmb_legacy Form GL AA IS IR OE RP JC PE IC AM BP CP PE User)) {    
    for my $k (keys %{"${nsp}::"}){
@@ -80,7 +83,8 @@
 use LedgerSMB::App_State;
 use Data::Dumper;
 
-our $logger=Log::Log4perl->get_logger('old-handler-chain');#make logger available to other old programs
+#our $logger=Log::Log4perl->get_logger('old-handler-chain');#make logger available to other old programs
+#Log::Log4perl::init(\$LedgerSMB::Sysconfig::log4perl_config);
 
 #sleep 10000;
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.