OK, so the configuration idea does not work. How about the idea of using the console log instead of System.err for these messages, on systems that have such a thing?
> On Mar 23, 2017, at 12:04 PM, Alan Bateman <alan.bate...@oracle.com> wrote: > > On 23/03/2017 18:44, Alan Snyder wrote: > >> If I understand JEP 264 correctly, it should be possible to direct platform >> generated error messages to locations other than the standard error stream >> (System.err). >> >> Is that correct? >> >> If so, would it not make sense for the default to be the (platform >> dependent) console log rather than System.err, which is used by applications >> for their own error messages? > System.Logger can be configured to send log messages to whatever logging > library you are using. However, is is not appropriate here, ditto for several > other areas where you don't want arbitrary code to execute. > > -Alan