2. Understanding the Debugging ProcessOnce your code is out and in the wild, or at least running on your development environment, it’s time to see if it actually works. The debugging process itself is pretty basic, but in order to make it even more helpful you need to focus on your logs.There are different levels to choose from:
Trace – Most detailed information
Debug – Detailed messages that are written to the log
Info – Runtime events that are visible on your console
Warning – Message about potential problems
Error – Unexpected conditions
Fatal – Severe errors
Source: 5 Things Only Experienced Developers Can Teach You About Java | Takipi Blog