I have a java application which is using log4j configured as below.
log4j.properties
log4j.rootLogger=I
Log4j2 supports .properties files but they have changed property syntax. You can check their manual here it covers all you need to create new configuration.