To see all the logging possibilities at a glance, you can run the following command:
Here is the output:
As you can see, the format of the -Xlog option is defined as follows:
Let's explain the option in detail:
- The what is a combination of tags and levels of the form, tag1[+tag2...][*][=level][,...]. We have already demonstrated how this construct works when we used the gc tag in the -Xlog:gc*=debug option. The wildcard (*) indicates that you'd like to see all the messages that have the gc tag (maybe among other tags). An absence of the -Xlog:gc=debug ...