Logging errors from Web services

V

VJ

I am trying to write exception logs from my various webservices to a log
file in the server. Is better to keep one log file for all services and
Index it by the service name or have one separate for each service. I would
like to know what happens 2 services at the same time try to write to the
file? I am using Streamwriter class to write the file. Will the writing be
automatically threaded and queued or do I have to take care of it or simply
it will be easier to keep a file for each service?

VJ
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top