Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Web Service Log File Code Standard?

Reply
Thread Tools

Web Service Log File Code Standard?

 
 
msustrick@gmail.com
Guest
Posts: n/a
 
      10-16-2006
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.

 
Reply With Quote
 
 
 
 
John Saunders
Guest
Posts: n/a
 
      10-16-2006
<> wrote in message
news: ups.com...
> 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


 
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
Does timer in Web Service Global.asax block my Web Service from processing web-site requests? Leo Violette ASP .Net Web Services 0 04-17-2009 12:39 AM
On my web site need the capability to log in as administrator and for others to log in anonymously AAaron123 ASP .Net 1 10-14-2008 08:14 PM
How to log independently of other webapps using log4j? Also, reading from log file from within servlet? unomystEz Java 0 11-19-2006 10:42 AM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Urgent Pls: Facing problem in reading Log information from Log file, created by IIS Amratash ASP .Net 0 04-13-2004 09:08 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