Microsoft
Software
Hardware
Network
Question : C#, general purpose logging
Your opinion is most welcome.
Before we begin to develop softare we are looking for a general purpose logging approach. I’m just wondering what others are using and why?
To date, we have considered these.
Performance is not a strong consideration.
•Trace Listener :
http://msdn.microsoft.com/
en-us/libr
ary/
system
.diagnosti
cs.traceli
stener.asp
x
•System.IO.Log :
http://msdn.microsoft.com/
en-us/libr
ary/system
.io.log.as
px
•TraceSwitch :
http://msdn.microsoft.com/
en-us/libr
ary/
system
.diagnosti
cs.tracesw
itch.aspx
• Logging Application Block which can be found at :
http://msdn.microsoft.com/
en-us/libr
ary/ff6471
83.aspx
• Log4net which can be found at :
http://logging.apache.org/
log4net/
Answer : C#, general purpose logging
We use two seperate methods for logging, which is Log4Net (general application logging, and used for some services). And of course Event Viewer, which is a simple way to implement it (Log4Net also has the capability to log to EV).
Random Solutions
How to open and view a pdf file saved in a blob field in a database Oracle 11g forms
Add Title or Header to MsgBox in Blue Area
no previous versions in windows 7 on a windows 2003 SBS
APC UPS AP9606 Web/SNMP Management Interface Reset
Xact_state or @@ TranCount to handle nest transaction rollbacks
Accessing AppDelegate variable in view controller
Apache Alias site can't find .htaccess file
Access - Multiple Users
Windows XP COD license
SQL Insert into X Select wildcard