Question: what is the difference between log4j.xml and log4j.properties?
Answer: Properties can be defined by a properties file or by an XML file. Log4j looks for a file named log4j. xml and then for a file named log4j.