Changed logging to support slf4j