title: How to make log4j log to different files on a per session basis in a Java web project?
body: <p>I'm trying to debug an issue that is happening on a client site, it only happens on the client site so I can't test it in our lab environment, but the client is constantly using the system so the amount of data in the log files is enormous. Also if I switch the logging to Debug the sheer volume of log writes hitting a single file brings the server to it's knees.</p>
  
  <p>How would I go about making my application log each http session to a different log file? To ease congestion to the file and to make the log file more readable?</p>