I know that the scope of this question is rather large and encompassing, but, I was wondering what you folks tend to use in your bigger production projects to handle errors, logging and so forth...
I'm not so much worried about the mechanics of the storage (db, flatfile, etc) but rather your implementation
Is it wise convention to add reporting to every instance in which you are doing something
e.g.
if you can/cant connect to the db, if you can/cant write a record, if a page isnt found, if an if/else tree fails to the last else...
things of that nature
and at that, do you have something setup such that these items are considered logging at a different level so you can be as detailed or not in your reporting
thanks