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. Advertisements

  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. Advertisements

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,262
    Mark Goldin
    Jan 17, 2004
  2. Nick
    Replies:
    1
    Views:
    7,252
    Alvin Bruney - ASP.NET MVP
    Sep 12, 2005
  3. Anup
    Replies:
    1
    Views:
    3,069
    Mark Rae
    May 9, 2006
  4. imlakhani

    Web Services Restful Services

    imlakhani, Dec 16, 2009, in forum: Java
    Replies:
    1
    Views:
    626
    Jeffrey H. Coffield
    Dec 16, 2009
  5. va
    Replies:
    0
    Views:
    336
  6. John
    Replies:
    4
    Views:
    837
  7. brianpmccullough

    Logging Errors in Web Service?

    brianpmccullough, Mar 13, 2006, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    459
    brianpmccullough
    Mar 13, 2006
  8. brian.ackermann

    PSEUDO WEB SERVICES CALLING OTHER SERVICES

    brian.ackermann, Oct 31, 2007, in forum: ASP General
    Replies:
    2
    Views:
    317
    Anthony Jones
    Nov 1, 2007
Loading...