"Trace"ing in a web service

T

Tolga Erdogus

Since web service requests can be made concurrently, what is the best way to
"Trace" them? Just using the Trace static methods seem to complain with my
log file being open when more than one request concurrently tries to write
to the Trace.

Is there a way the writes across many different web service requests are
coordinated and written in to one log file or should I use a seperate trace
file for each web request?

Is there a way to set this up in the config file?

Thanks
 
M

MSFT

Hi Tolga,

For low leverl trace, you can use some TCP trace utility to trace the TCP
pakage sent via HTTP; Or you can use SOAP trace utility in MS SOAP toolkit
to trace soap message for a web service. For high level trace, you may
write your custom trace class to log the trace information to a database,
so that there won't be a conflict like on a text file.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,796
Messages
2,569,645
Members
45,371
Latest member
TroyHursey

Latest Threads

Top