Removing verbose flag and use isTraceEnabled() instead. Also change the
scope of the dependencies of the log4j adapter and log4j itself to test
scope.