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

Re: [ic] Assistance Request


I also found and enabled the DBI debugging. This is the additional output generated after restarting the server and logging off SSH:

Start DEBUG at Fri Jan 13 01:20:54 2006
!   <- DESTROY(DBI::db=HASH(adb92a8))= undef during global destruction
   <- DESTROY(DBI::db=HASH(adb92a8))= undef at Server.pm line 950
Vend::Table::DBI:debug: bad= connecting to dbi:mysql:my_db
Vend::Table::DBI:debug: merchandising: DBI didn't die, bad=
!   <- DESTROY(DBI::db=HASH(adb92a8))= undef during global destruction


Peter wrote:

On 01/12/2006 07:15 PM, Simon Swegles wrote:

Unfortunately, I do not know how to check for the current value of $bad.


Uncomment this line:

   579 #::logDebug("bad=$bad connecting to $call[0]");


...and this line:

   585 #::logDebug("$config->{name}: DBI didn't die, bad=$bad");


...then set "Variable DEBUG 1" somewhere near the top of interchange.cfg and restart interchange. IC will then log the above two lines to whatever the DebugFile directive is set to.

When you're done reverse the above procedure to avoid having that file rapidly spammed and filled up with useless info you don't need.

Peter
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users



_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.