Fix log4j.xml to log methods.