blog.leetsoft.com
05 Apr '12, 11pm
Clarity in log files. - Too-biased:
Log files are one of the most important aspects of any web service. A webapp with a well designed logging strategy will allow you to essentially go back in time to track down even the most obscure bug. Unit tests have diminished the importance of log files somewhat but how do you write a unit test for a bug that only happens on server 2 around 2am in the morning when user fred is logged in? Most of us run exception notification services such as exception_logger, hoptoad, exceptional or simply but log exceptions to a DB table ( MySQL protip: make that table MyISAM, otherwise exceptions that are added during a transaction will be removed when that transaction rolls back – duh ). Those exception notifications are great but they never provide a lot of context for how the user got to the point. Lastly there is also the role that log files play in customer support. Have you ever...
Full article:
http://blog.leetsoft.com/2009/12/06/clarity-in-log-files....