Assuming you're using Maven, declare a test scoped dependency on an implementation and get the actual implementation's logger out in your unit tests - it will have a method for setting levels on it. You might want to consider slf4j-test - http://projects.lidalia.org.uk/slf4j-test/ . Disclaimer - I wrote it!