Java Application Logging Best Practices 1. Introduction The pretty basic need to diagnose any Java application is to have debug information available in console or log files. Everybody who starts java starts with System.out.println() for printing message in java console. But, this is not at all powerful as compared to advanced java logging and in any java server application without java logs you won't be able to figure out what went wrong. That’s why logging in java is most important while writing server applications. Logging in Java is not by choice and it is must to understand. This document gives basic overview of Java logging and the guidelines to be followed while logging application errors, debug information. The intended audience of this document includes developers, code reviewers and architects. Well-structured log information will help developers to identify and resolve defects quickly. 2. ...
Posts
Showing posts from August, 2014