title: Setting a log file name to include current date in Log4j
body: <p>I would like to set the log file name for a log4j and log4net appender to have the current date.  We are doing Daily rollovers but the current log file does not have a date.  The log file name format would be </p>
  
  <pre><code>logname.2008-10-10.log
  </code></pre>
  
  <p>Anyone know the best way for me to do this?</p>
  
  <p>edit:  I forgot to mention that we would want to do this in log4net as well.  Plus any solution would need to be usable in JBoss.</p>