Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2006

Tip: Looking for answers? Try searching our database.

Web Service Log File Code Standard?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
msustrick@gmail.com - 16 Oct 2006 18:06 GMT
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.
John Saunders - 16 Oct 2006 18:34 GMT
> 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
[quoted text clipped - 5 lines]
> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.