Hi Nicolai,
On 19/08/16 16:21, Nicolai Parlog wrote:
Hi Daniel,
thanks for the quick reply. And you are of course right.
Luckily I don't care about the specific G1 message. After setting
everything up, I was looking for _anything_ that logs a message and that
was the first thing I came up with. Forgot the "platform classes" in the
first sentence. :(
Any idea what else I could use that logs messages via the new API?
At the moment, anything that logs through sun.util.logging.PlatformLogger
will end up logging through your LoggerFinder. At the moment, only
a small set of jdk libraries/modules are using System.Logger (mainly
java.base and java.destkop I believe), and at this time mostly
through the legacy sun.util.logging.PlatformLogger API.
I hope that going forward more and more jdk libraries will start
using / migrate towards the new API, but we're not there yet.
best regards,
-- daniel