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

Erik Gahlin egahlin at openjdk.org
Mon Sep 1 12:00:41 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.

Does your change handle logging to a file?

I looked into fixing this when I did the initial implementation, but I didn't think it was worth addressing. It only applies to jfr+startup and if the user wants the warning level. If a user doesn't want the message, they can specify jfr+startup=error.

Do we log anything with jfr+startup=warning?

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

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


More information about the hotspot-jfr-dev mailing list