Re: RFR: 8301627: System.exit and Runtime.exit debug logging [v2]

2023-02-14 Thread Daniel Fuchs
On Tue, 14 Feb 2023 07:45:07 GMT, Alan Bateman 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}` >> arou

Re: RFR: 8301627: System.exit and Runtime.exit debug logging [v2]

2023-02-13 Thread Alan Bateman
On Mon, 13 Feb 2023 10:57:35 GMT, Daniel Fuchs wrote: >> src/java.base/share/classes/java/lang/Shutdown.java line 162: >> >>> 160: * If the system logger {@code java.lang.Runtime} is enabled for >>> logging level DEBUG/FINE >>> 161: * the stack trace of the call to {@code Runtime.exit

Re: RFR: 8301627: System.exit and Runtime.exit debug logging [v2]

2023-02-13 Thread Roger Riggs
> It can be difficult to find the cause of calls to > `java.lang.System.exit(status)` and `Runtime.exit(status)` because the Java > runtime exits. > The status value and stack trace are logged using the System Logger named > `java.lang.Runtime` with message level `System.Logger.Level.DEBUG`. Ro