title: log4j properties file: how to configure?
body: <p>My procedure for using log4j is this:</p>
  
  <ol>
  <li>put a <strong>.properties</strong> file somewhere in a project folder</li>
  <li>in an initialization method, that runs only once, invoke <strong>PropertyConfigurator.configure("path_to_file")</strong></li>
  <li>in every method we need to use logger we define a static logger variable and simply invoke <strong>getLogger(class)</strong></li>
  </ol>
  
  <p>Is this correct?
  What happens if the initialization module is not defined?  Where can I put the "log4j.properties" file such that I don't have to invoke propertyconfigurator.configure at all?  If that's not possible, is it OK to invoke <strong>PropertyConfigurator.configure("path_to_file")</strong> in every method that uses a logger?</p>