Add logging with Log4J.