Complex sentence: There are three ways to configure log4j: with a properties file, with an XML file and through JAVA code.
Split into simpler sentences: There are three ways to configure log4j. One is with a properties file and the other is with an XML file and the third one is through JAVA code.