How to specify syntax and available tags for -Xlog

OpenJDK 9 new Unified JVM Logging can filter logs by tags, but JEP does not provide a list of all available tags. How can I list all the available arguments?

+7
jvm java-9
source share
1 answer

java -Xlog:help prints the argument syntax, including a list of tags available in this particular version, which may change over time.

Note that logging with -Xlog:<tag> may not print anything related to this tag, since this log message only requires this tag. Use -Xlog:<tag>* instead to include posts containing multiple tags.

+10
source share

All Articles