July 2019
Intermediate to advanced
440 pages
13h 56m
English
Java 9 introduced a unified logging architecture. It pipes the messages the JVM generates through a single mechanism and allows you to select which messages to show with the intricate command-line option -Xlog.
You can use it to observe the JVM’s behavior, debug an application if it misbehaves, or look for possible performance improvements. As you know from your own projects, logging has a wide and amorphous area of application, so I won’t explain this with a single use case, but will instead look at the mechanism as a whole.
Using -Xlog can initially be a bit intimidating, but we’ll examine it step by step, exploring each aspect of the option. Here we’ll be looking at the mechanism in general—section ...
Read now
Unlock full access