On 09/18/2015 06:17 PM, mark.reinh...@oracle.com wrote:
New JEP Candidate: http://openjdk.java.net/jeps/264

- Mark

Hi,

What is the purpose of exposing a factory for loggers in the generally exported package (java.lang) and making it standard Java API as opposed to keeping it internal API as it is now (sun.util.logging.PlatformLogger)? Is this going to become an official front-end for JDK-internal and applications use, available in the platform itself?

Otherwise I think it's good to add support for interfacing other backends (besides JDK14 Logging and stderr) to platform logger. If one wants to interface some other backend to platform logger now, it's actually doable, but only via the intermediate JDK14 Logging API, like this:

PlatformLogger -> j.u.l.Logger -> jul-to-slf4j -> slf4j-WHATEVER-BACKEND

Adding support to skip JDK14 Logging would simplify configuration and make it more lightweight.

Regards, Peter

Reply via email to