This section focuses on logging important information while the application is running. It helps to debug the application from various aspects, which we will look at in detail. Another important aspect covered in this section is application monitoring. In some cases, application monitoring is considered no different from application profiling; these are certainly different aspects in application performance measurement.
Application logging and monitoring
Application logging
Before we dive into the details of Java application logging, it is mandatory to understand what logs and logging are. A log is a statement that displays information to help us understand the state of the application. Log statements are written in the log...