Since early this year Log4perl is included and used in some of the modules. It's easy to add more logging. See LedgerSMB/Sysconfig.pm for configuration and LedgerSMB.pm for some examples. Note the use of LedgerSMB::Log and $logger.
On Thu, 2010-07-08 at 09:01 -0700, Gerald Chudyk wrote: > I think a few years ago someone mentioned some debugging lines that > could be added to code to enable some form of trace. I seem to have > lost my notes on this and googling is not helping. I'm probably not > searching under the right terms (poor perl skills). I know we cannot > animate this stuff, but I am used to poking into black boxes and > sending something to a log or screen. I would like to trace the > current value of some variables (transdate) as it flows through the > system. > > Can anyone slap me with a clue stick? > > Thanks, > Gerald. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Ledger-smb-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Ledger-smb-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
