Use Log4j instead of stdout