I\'ve found a useful article that explains how to make Jersey to use SLF4J instead of JUL. Now my unit test looks like (and it works perfectly):
public class
This worked for me:
public abstract class JerseyTestSFL4J extends JerseyTest { static { // Get JerseyTest to use SLF4J instead of JUL SLF4JBridgeHandler.removeHandlersForRootLogger(); SLF4JBridgeHandler.install(); } }
and then having my tests extend JerseyTestSFL4J.
JerseyTestSFL4J