title: set an absolute path for a "log4j.properties" file
body: <p>I am using apache commons + log4j for my web app.</p>
  
  <p>normally log4j needs a configuration file inside the classpath; but I need to delegate the logging configuration to an external file (I need to deploy a .war in an environment, but the log configurations (max size, position, etc) it's up to a second team.</p>
  
  <p>I have a commons-logging.properties in my classpath</p>
  
  <pre><code>org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
  # log4j.configuration=/absolute/path/where/external/logs/are/log4j.properties
  </code></pre>
  
  <p>unfortunately, the commented line doesn't work.</p>
  
  <p>Is there a way to set up log4j with an external configuration file?</p>