[ic] logging SQL exceptions

Kevin Old interchange-users@icdevgroup.org
Tue Mar 11 12:18:00 2003


On Tue, 2003-03-11 at 11:49, Tze-John Tang wrote:
> hello,
> 
> I am trying to debug the section in etc/log_transaction when values are being
> stored into the transaction table.  Is there anyway I can print out any SQL
> errors that might be occuring during this import?
> 
> Thanks,
> 
> -tj
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users

Yes, in your interchange.cfg under /usr/local/interchange (or
/usr/lib/interchange) set DataTrace to 1.  Then look for the DBI
debugging information in /tmp/icdebug.

For inserts into the DB search for "INSERT".

Hope this helps,
Kevin
-- 
Kevin Old <kold@carolina.rr.com>