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
Client printing via remote desktop and ts easy print to windows server 2008 document loses left margin
VB.net monitor process CPU usage and defrag when below certain percentage
Troubleshooting slow server
Pairing Recent Dates through SQL
nslookup shows a dc in 2 domains
What is the best OS for a netbook?
E-Machines EL1200 BSOD at Startup - Windows XP SP2
Mac Users suddenly have no access to Win Server 2003 Mac AFP/SFM Shared Volumes
How do I setup "completely" Unsolicited Remote Assistance Requests in Windows 7 for remote support? - Replacing free VNC
Crystal report file as resource?