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