FCHouse A blog about our lives, our passions, our photos

Logging Application Error: which style?

Hi all,
finally a different post. No recrimination, no politics and no social disease here :)
Today I am working on a small application written in c# and I have to decide how to manage the errors, warnings or whatsoever message I want to log for future release, bug fixing. Error Management in general…

Obviously I am not talking about error visible to users, that are another story. I am talking about all those information that must be stored for the developer and for the system administrators.
Using c# under windows a good idea should be the usage of the Windows Error Log, it is easy to manage, it is clear and you have a central point to get every information when something happens. When you have to check the status of your system you have simply to open the Computer Management, switching to Error Log and there you will find everything you need.
It is fast and reliable and, unless you have to develop something for a multi-platform environment, it should be a good solution. Obviously this argument cannot be applied if you have to use multi-platform environment (Java, PHP or other) or if you need to access your data in a different way instead of the Windows desktop environment.

So, I am going to choose one way (or both) to take care of my little bugs!

And remember:
Bugs are GOOD!
No Bugs = No Progress


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment

Google Talk: a new IM I am an Ignorant about Israel and Palestine!