RFR: 8366232: JFR startup messages are shown with -Xlog:jfr+startup=warning

Johannes Bechberger jbechberger at openjdk.org
Wed Sep 3 14:22:44 UTC 2025


On Wed, 27 Aug 2025 12:07:54 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

> Only print the JFR startup messages when no or a < warning log level is set explicitly by the user.

Regarding files:

`-Xlog:jfr+startup=info:file=a.txt` causes the startup message to be written to the file, but `-Xlog:jfr+startup=warning:file=a.txt` doesn't.

So it works both for files and stdout, the implementation changes the behaviour at the root.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26957#issuecomment-3249467266


More information about the hotspot-jfr-dev mailing list