I will be Java agnostic, and i will add the document from OWASP - open web application security project. I'm implementing a logging/error handling policy and it was really useful.
- http://www.owasp.org/images/e/e0/OWASP_Logging_Guide.pdf
- http://www.owasp.org/index.php/Category:OWASP_Logging_Project
Another good question that was already answered here at stackoverflow:
* What are the best practices to log an error?