title: How do I configure log4j using log4j.xml to append to different log files based on class name?
body: <p>I want to set up log4j so that all log meessages produced from classes under package com.foo.bar go to bar.log, and all the log meessages produced from classes under package com.bar.blatz go to blatz.log.</p>
  <h3>Questions</h3>
  <ul>
  <li>How do I do this using log4j.xml?</li>
  <li>I know its possible using property files, but how do I do it using the XML configuration?</li>
  </ul>