Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Logging errors from Web services

Reply
Thread Tools

Logging errors from Web services

 
 
VJ
Guest
Posts: n/a
 
      01-31-2004
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


 
Reply With Quote
 
 
 
 
Joe H
Guest
Posts: n/a
 
      03-06-2004
why not have all your web services write to a custom event log on the
server?

"VJ" <> wrote in message
news:#...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How .NET web services client handles exceptions from Java web services? John ASP .Net Web Services 4 03-31-2006 10:13 PM
Logging Errors in Web Service? brianpmccullough ASP .Net Web Services 1 03-13-2006 08:50 PM
What is the difference between C# windows Services and web services in vs.net? Nick ASP .Net 1 09-12-2005 02:33 PM
Errors, errors, errors Mark Goldin ASP .Net 2 01-17-2004 08:05 PM
how to implement Services Interface Tier (web services) Szymi MCSD 0 11-03-2003 10:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57