In general - most well designed applications - having logging modules that write to specific log files. By doing so, in the event of an error or exception being encountered in your application - all a developer needs to do is look up the log files and he will be able to zero in on the root cause of the issue (and fix it!) within no time.
I hope this is the answer you were looking for.
Linux Archive