Java Log4j example with log4j.xml. Let us discuss how to configure log4j using xml file in eclipse with example. http://tutorialspointexamples.com/log4j-example-using-log4j-xml-file/. See more at: http://tutorialspointexamples.com/log4j-pdf-java-beginners-eclipse-code-download/