Paxenos
Paxenos

Reputation: 2866

How can I export trace.axd to a file

This probably has an easy answer, but I haven't been able to find one yet. I was wondering if there was a simple solution to exporting the page-level trace results of trace.axd to a log file of some sort.

Thanks

Upvotes: 3

Views: 2133

Answers (2)

Tor Haugen
Tor Haugen

Reputation: 19627

The <trace> element has a writeToDiagnosticsTrace option, which enables you to capture trace events with a trace listener.

We have done this, but with poor results. Because of incomplete trace support in ASP.NET, we couldn't get anything but the trace event messages into the file - no timestamps, no elapsed time - nothing really useful.

Upvotes: 4

Iain M Norman
Iain M Norman

Reputation: 2085

Have a look here it might take you some way to what you want:

http://www.15seconds.com/issue/020910.htm

Upvotes: 3

Related Questions