Hi,
ASP.NET provides TraceListener class, whichc serves as a base class for
trace listeners, objects which write trace data to a specified output. There
exists specific implementations of this such as ConsoleTraceListener and
what interesting here, TextWriterTraceListener. However, to integrate these
into ASP.NET (which uses its own TraceContext to write the trace data and
view it with Trace.axd) you need to turn a few switches.
You'll find information on:
http://weblogs.asp.net/dwahlin/archive/2007/07/09/tracing-in-asp-net-application
-layers.aspx
TextWriterTraceListener
http://msdn2.microsoft.com/en-us/library/system.diagnostics.textwritertraceliste
ner.aspx
Walkthrough: Integrating ASP.NET Tracing with System.Diagnostics Tracing
http://msdn2.microsoft.com/en-us/library/b0ectfxd(VS.80).aspx

Signature
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
> When asp.net trace is enabled in web.config,
> http://mywebserver/myApp/trace.axd list parameter/value pairs for each
[quoted text clipped - 10 lines]
> thanks,
> alexander