in reply to Re: How to log SQL query execution in DBI
in thread How to log SQL query execution in DBI

Trace Output Initially trace output is written to "STDERR". Both the "$h->t +race" and "DBI->trace" methods take an optional $trace_filename param +eter. If specified, and can be opened in append mode, then all trace out +put (currently including that from other handles) is redirected to +that file. A warning is generated if the file can't be opened.