title: Stop displaying logger output to console from dependencies
body: <p>I am new to log4j hence asking SOs help.</p>
  
  <p>In my Java project I have couple of Maven dependencies which clutter the console output with redundant log info. I want to disable such logging.</p>
  
  <p>I understand setting <code>additivity</code> property to <code>false</code> might help. But could not use it properly.</p>
  
  <p>I am looking for a <code>log4j.xml</code> config which will only print log output (warn, error ..) from my project and not from any dependencies.  </p>