You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2014/12/28 22:48:04 UTC

JUL build failures

Does anybody else see this with Surefire/Failsafe 2.18.1 (mvn clean test)

java.lang.UnsupportedOperationException: Cannot set level through log4j-api
        at
org.apache.logging.log4j.jul.ApiLogger.setLevel(ApiLogger.java:82)
        at
org.apache.logging.log4j.jul.CoreLoggerTest.testSetLevel(CoreLoggerTest.java:67)


With 2.17 (what is in the POM now), I get:

[INFO] Apache Log4j NoSQL ................................. SUCCESS [
4.560 s]
[INFO] Apache Log4J Performance Tests ..................... FAILURE [
21.216 s]
[INFO] Apache Log4j Streaming Interface ................... SKIPPED
[INFO] Apache Log4j JUL Adapter ........................... SKIPPED

With 2.18, there is a known problem fixed in 2.18.1

Gary

-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory