LLblgen mesuring statement time

Posts   
 
    
Steria
User
Posts: 64
Joined: 26-Nov-2008
# Posted on: 04-Aug-2009 11:32:07   

Hi,

Is it possible to get the start and the end time of each statement sent to the database. I want to create a log with these performances.

Regards,

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 04-Aug-2009 11:45:04   

You should add trace switches in the config file of your application. Also you need to add a trace listener to capture the trace at runtime.

You can find an example in the following thread, with an extra tip of how to get the timestamp into the trace. http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=13069

For detailed info about the trace switches please check: Troubleshooting and debugging