Title: Message
Here are two articles on log4net.  Of course, you should definitely spend time at the log4net site: http://logging.apache.org/log4net/
 
http://www.ondotnet.com/pub/a/dotnet/2003/06/16/log4net.html
http://www.codeproject.com/csharp/log4net_intro2.asp
 
Hope this helps.
 
-- Rodney
 
-----Original Message-----
From: Dru Sellers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 11:13 AM
To: 'Log4NET User'
Subject: RE: Logging Best Practices

The first bit I am working on right now is how to determine what each level does.
DEBUG - Add this to your code when you want to be able to check the state of the app at runtime without debugger
INFO: (Less than Debug)
WARN: ?
ERROR: I am putting these in my Catch blocks
FATAL: I put this in my outer most class (The actual Form or Webpage) that way I can catch showstoppers here.


From: Dru Sellers [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 5:35 PM
To: 'Log4NET User'
Subject: Logging Best Practices

Just picked up log4net.  Anyone have any good links for how to log your code. I have never done this before and have no reference material either. Any real life "insert logging code here in your app" links would be great.
 
Dru

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004

Reply via email to