Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In Glassfish I would like to do something like this:
public class MyApplication extends ResourceConfig { private static final Logger log = LogManager.getLogger(MyApplication.class); public MigrationApplication() { register(new LoggingFeature(new CoreLogger(log))); } }
java.util.logging.Logger is already implemented by the org.apache.logging.log4j.jul.CoreLogger,
but the constructor is package private.