On Tue, 14 Feb 2023 07:45:07 GMT, Alan Bateman <[email protected]> wrote:
>> FINE is not a level supported by the System.Logger, it is the level to which
>> DEBUG is mapped when the backend is java.util.logging. I suggest to remove
>> FINE from this description and add an `{@link Loger.Level#DEBUG DEBUG}`
>> around DEBUG.
>
> Roger has updated this but it's still a comment on a non-public class. I
> think the main question here is whether there should be a note in the
> System.exit and Runtime.exit to document that these methods log? If not, will
> it be documented anywhere, maybe a troubleshooting guide to help track down
> what/who is calling System.exit?
Another way to document that could be to add the commented logger name, and a
comment, to
https://github.com/openjdk/jdk/blob/master/src/java.logging/share/conf/logging.properties
A new section at the end with some explanation on what this logger prints and
how to enable it - with the appropriate wording to make it clear that it's
JDK-implementation specific and not part of the spec.
-------------
PR: https://git.openjdk.org/jdk/pull/12517