News for hackers. Stuff that matters.
Re:Never Test Logging by ams6110 on Monday March 24, 2014 @07:47AM (#7457695)
You may be using a logging framework to satisfy some audit requirement, e.g. to capture user login timestamps, or important transaction details. That should be tested, since it's a feature of your software.

But even if you are just logging for behavior tracking/debug purposes, you should at least verify that the logging framework is actually working, otherwise it might not be there when you need it. If you're going to go through the trouble to code something that's going to stay in the production release, you should pretty much always at least do some basic smoke tests on the feature.

There are no comments on this comment yet.