Markus Lachinger created LOG4J2-893:
---------------------------------------
Summary: NullPointerException on filter when mapping JUL to Log4j2
Key: LOG4J2-893
URL: https://issues.apache.org/jira/browse/LOG4J2-893
Project: Log4j 2
Issue Type: Bug
Affects Versions: 2.1
Environment: Mac OSX, Scala 2.10.4, Java(TM) SE Runtime Environment
(build 1.7.0_45-b18)
Reporter: Markus Lachinger
I have a project in scala loading log4j2-core, api, jul, slf4j and jcl and try
to map the JUL to Log4J by using the following java parameter:
-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
I also use Twitter Server which uses JUL to log it's messages.
When I start up the server with the JUL mapping for Log4J I get a
NullPointerException.
The exception and code is here:
https://gist.github.com/mmlac/2e2b38dc3fbd0e5b0da4
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]