RFR: Extend documentation regarding logging [v5]
Johan Sjölen
jsjolen at openjdk.org
Mon Feb 20 13:03:58 UTC 2023
On Fri, 10 Feb 2023 02:59:11 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> src/guide/hotspot-development.md line 21:
>>
>>> 19: ~~~
>>> 20:
>>> 21: Where 'gc' and 'marking' are tags, and 'info' is the log level. Tags associate log messages with certain subsystems or features and the log level determines the importance and verbosity of the message. The most verbose output is trace, and the least is error. The full list of tags is available [here](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/logging/logTag.hpp) and the full list of levels [here](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/logging/logLevel.hpp).
>>
>> The full list of tags for a given VM is found from running `java -Xlog:help`.
>
> I still think this is a better source of information than the repo files. You often want to know what logging is available in the specific jvm you are running and can't necessarily figure out how to get to the right source file for that.
Hi, I agree. I simply missed the comment when I updated the PR. I'll fix it :-).
-------------
PR: https://git.openjdk.org/guide/pull/91
More information about the guide-dev
mailing list