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: [email protected] | [email protected]
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