title: How to configure maven to use different log4j.properties files in different environments
body: <p>I want to be able to use different log4j configuration for different environments. </p>
  
  <p>In my development environment, I want to use log4j.properties (A). But when I build in Maven for the production environment, I want to use log4j.properties (B). </p>
  
  <p>Please tell me how to configure this in my pom.xml?</p>