Move from Java logging to log4j.