Creating a unified logging schema for the JVM was the central goal of JEP-158. Here is a high-level list of the goals of the JEP:
- Create a JVM-wide set of command-line options for all logging operations
- Use categorized tags for logging
- Provide six levels of logging:
- Error
- Warning
- Information
- Debug
- Trace
- Develop
The changes to the JVM, in the context of logging, can be categorized into:
- Tags
- Levels
- Decorations
- Output
- Command-line options
Let's briefly look at these categories.