title: Create new log file daily using log4j
body: <p>I want to use Log4j in my java project, which configuration should I provide in
  configuration file that every night at 12.00 am new file will generate and file
  name should like - <strong>output-log-of-MyProjectName-HostName-2013-Dec-10.txt</strong>
  name). My configuration  file is like that-</p>
  
  <pre><code>log4j.appender.FILE = org.apache.log4j.DailyRollingFileAppender    
  log4j.appender.FILE.File = ${log}/log.out    
  log4j.appender.FILE.DatePattern = '.' yyyy-MM-dd-a
  </code></pre>
  
  <p>It is creating new file everyday but it appending date after file name.
  Please help me. Thanks in advance.</p>