title: Log4j.properties and log4j2.xml
body: <p>Is it necessary to have both <code>log4j.properties</code> and <code>log4j2.xml</code> in a maven project to print logs to file?</p>
  
  <p>Or is <code>log4j2.xml</code> sufficient? </p>