Web Service Log File Code Standard?

Discussion in 'ASP .Net Web Services' started by msustrick@gmail.com, Oct 16, 2006.

  1. Guest

    I've been using Log4Net for some file logging in Web servics.
    Exceptions are stored in a db and mailed to parties, but I've found it
    helpful to use Log4Net and write to a log file with some information
    like SQL or stored procedures names beign called.

    My question is it an acceptable to practice to use log files on
    servers? Log4Net cleans up after itself. I've heard some developers are
    opposed to the practice, but I've found it helpful, especially when a
    web service is first deployed.

    Regards,

    Gabe.
     
    , Oct 16, 2006
    #1
    1. Advertising

  2. <> wrote in message
    news:...
    > I've been using Log4Net for some file logging in Web servics.
    > Exceptions are stored in a db and mailed to parties, but I've found it
    > helpful to use Log4Net and write to a log file with some information
    > like SQL or stored procedures names beign called.
    >
    > My question is it an acceptable to practice to use log files on
    > servers? Log4Net cleans up after itself. I've heard some developers are
    > opposed to the practice, but I've found it helpful, especially when a
    > web service is first deployed.


    Servers are precisely where you need some sort of logging. How else would
    you know what's going on?

    I don't know Log4Net, but if it can be configured to log what's needed and
    to ignore verbose details, then go ahead and use it.

    John
     
    John Saunders, Oct 16, 2006
    #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. Amratash
    Replies:
    0
    Views:
    530
    Amratash
    Apr 13, 2004
  2. unomystEz
    Replies:
    0
    Views:
    560
    unomystEz
    Nov 19, 2006
  3. AAaron123
    Replies:
    1
    Views:
    281
    Cowboy \(Gregory A. Beamer\)
    Oct 14, 2008
  4. Simon
    Replies:
    0
    Views:
    1,025
    Simon
    Oct 13, 2009
  5. Leo Violette
    Replies:
    0
    Views:
    1,055
    Leo Violette
    Apr 17, 2009
Loading...

Share This Page