Saturday, September 20, 2008

Never forget to log

Most software problems appear during implementation phases. When software is used in production environments, it's very common to see problems that you've never seen before. And when problems appear, there isn't time to reproduce them and to debug the code.

There are different ways to log information in .net, these are the most used:

- Event Log

- Trace / Debug

- Performance Counters

- WMI






If you use logging, you will be able to diagnose problems and might find errors wich couldn't be yours (until this happens, the problem is always yours).

 

0 comments: