I have an issue where an application is randomly dying during a DBI call. We cannot reliably reproduce this in our test or acceptance environment, so I am required to monitor it on our production system to try to figure out what is happening.
I am logging all the DBI
traffic via the DBI_TRACE
environment variable.
DBI_TRACE=3=dbi.log script.pl
The issue is however that there are no time stamps in the DBI log files, so it is difficult to go back through them to find what was occurring at the time of the die.
Is there any way to enable logging of DBI with time stamps?