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
web/url security
windows cannot access the specified drive, path, or file. You may not have the appropriate permissions to access the item
want to align the iframe to the right of the td
cfapplication sessionTimeout question
Backup of Sharepoint 2010 admin site
CRM window is blocked after running caspol.exe
Loop through radio buttons using javascript
msSQL reporting
command line to open Network Connections in Windows XP
Window XP: SP3