This is a migrated thread and some comments may be shown as answers.

How to log report loading time in production environment

1 Answer 143 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mohamed
Top achievements
Rank 1
Mohamed asked on 04 Oct 2015, 09:30 PM

Hi,

Is there a way to log report loading time in production environment when using Asp.Net Report viewer?

By the way I try to review IIs log file to get the request time and i found all reports urls comes with InstanceID and I can't to know which InstanceID related to which report

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 07 Oct 2015, 01:28 PM
Hello Mohamed,

You can listen for report rendering traces that include rendering times. For this, you should use a TraceListener:
DefaultTraceListener defaultListener;
defaultListener = new DefaultTraceListener();
defaultListener.LogFileName = "log.txt";
Trace.Listeners.Add(defaultListener);


Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mohamed
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or