OpenJDK 9\'s new Unified JVM Logging can filter logs by tags, but the JEP does not provide a list of all available tags. How can I list all available arguments?
java -Xlog:help
prints the argument syntax, including the list of tags available in that particular version, which may change over time.
Note that logging with -Xlog:<tag>
may not print everything related to that tag since it requires the log message to only have that tag. Use -Xlog:<tag>*
instead to include messages containing multiple tags.