467,122 Members | 1,314 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,122 developers. It's quick & easy.

asp.net tracing using System.Diagnostics

I am wondering whether asp.net applications can write trace information
using the System.Diagnostics.Trace class, and also whether in web.config,
the <system.diagnostics> element and its sub elements have effect.

Trace.axd is good but not perfect. I would like to use a separate file for
writing trace information in addition to Trace.axd.

Also, what happens when you call Trace.Close which has a set of listeners
including a text file writer listener, and call Trace.Write soon after?
Will it error out or will it reopen the listeners?
I am also assuming that Trace.Close would have no effect on default
listeners such as console, etc. Is that correct?

Thanks much.
Jiho
Nov 18 '05 #1
  • viewed: 1375
Share:
1 Reply
Hi,

this might help :
http://www.thescarms.com/dotNet/DebugTrace.asp

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Robert Jenkin | last post: by
3 posts views Thread by Daniel Billingsley | last post: by
3 posts views Thread by Shawn Melton | last post: by
2 posts views Thread by Dmitry Bond. | last post: by
reply views Thread by Lenn | last post: by
reply views Thread by cnys | last post: by
reply views Thread by rehto | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.