title: log4j uses incorrect properties file in Netbeans
body: <p>I am using log4j in a desktop application.</p>
  
  <p>Usually this works without a hitch. Recently however, Netbeans has stopped logging (while both Eclipse and the jar built by Netbeans itself log perfectly fine).</p>
  
  <p>Using log4j's debug mode, I have traced the cause to log4j using the wrong properties file in Netbeans only. Instead of using the one supplied in the source folder, it uses the properties file inside of a dependency for some reason.</p>
  
  <p>Again: This only happens in Netbeans. Does anyone know how I can point log4j to the correct file?
  And why exactly would this happen?</p>
  
  <p>EDIT: I am now manually feeding log4j the correct properties file, although I would still like to know the cause for Netbeans' odd priorities.</p>