Instead of mocking the logger you can use log4j appenders with mockito to check the logging output, see http://bloodredsun.com/2010/12/09/checking-logging-in-unit-tests/

Don't have to re-write this (unless you want to), more for future reference