You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Jure Skelin (JIRA)" <ji...@apache.org> on 2019/07/01 13:34:00 UTC
[jira] [Created] (LOG4J2-2648) Public Log4j Core implementation of
the JUL Logger class.
Jure Skelin created LOG4J2-2648:
-----------------------------------
Summary: Public Log4j Core implementation of the JUL Logger class.
Key: LOG4J2-2648
URL: https://issues.apache.org/jira/browse/LOG4J2-2648
Project: Log4j 2
Issue Type: Improvement
Components: JUL adapter
Reporter: Jure Skelin
In Glassfish I would like to do something like this:
{code}
public class MyApplication extends ResourceConfig {
private static final Logger log = LogManager.getLogger(MyApplication.class);
public MigrationApplication() {
register(new LoggingFeature(new CoreLogger(log)));
}
}
{code}
{{java.util.logging.Logger}} is already implemented by the {{org.apache.logging.log4j.jul.CoreLogger}},
+but the constructor is package private+.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)