Logging errors from Web services

Discussion in 'ASP .Net Web Services' started by VJ, Jan 31, 2004.

  1. VJ

    VJ Guest

    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
     
    VJ, Jan 31, 2004
    #1
    1. Advertising

  2. VJ

    Joe H Guest

    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
    >
    >
     
    Joe H, Mar 6, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Goldin

    Errors, errors, errors

    Mark Goldin, Jan 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,027
    Mark Goldin
    Jan 17, 2004
  2. Nick
    Replies:
    1
    Views:
    6,261
    Alvin Bruney - ASP.NET MVP
    Sep 12, 2005
  3. Anup
    Replies:
    1
    Views:
    2,828
    Mark Rae
    May 9, 2006
  4. John
    Replies:
    4
    Views:
    502
  5. brianpmccullough

    Logging Errors in Web Service?

    brianpmccullough, Mar 13, 2006, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    397
    brianpmccullough
    Mar 13, 2006
Loading...

Share This Page