title: Log4Net is creating the file in wrong folder
body: <p>Following is the appender written in log4net's configuration file</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;appender name="RollingFileAppenderForError" type="log4net.Appender.RollingFileAppender"&gt;
      &lt;file type="log4net.Util.PatternString" value="D:\WEB\LOGs\%date{yyyyMMdd}\"/&gt;
      &lt;lockingModel type="log4net.Appender.FileAppender+MinimalLock"/&gt;
      &lt;appendToFile value="true"/&gt;
      &lt;rollingStyle value="Composite"/&gt;
      &lt;datePattern value="lo\gs_yyyyMMdd.lo\g"/&gt;
      &lt;maxSizeRollBackups value="50"/&gt;
      &lt;maximumFileSize value="1MB"/&gt;
      &lt;staticLogFileName value="false"/&gt;
      &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="[%date{yyyy-MM-dd HH:mm:ss, fff}]  [%property{ServiceTxnID}]  [%property{TxnRequestID}]  %-5level %logger{2} %ndc - %newline Exception: %message - %exception %newline "/&gt;
      &lt;/layout&gt;
      &lt;filter type="log4net.Filter.LevelRangeFilter"&gt;
          &lt;levelMin value="DEBUG" /&gt;
          &lt;levelMax value="FATAL" /&gt;
      &lt;/filter&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p>Here the problem is, in local and QA environment log4net is writing the log file in correct folder (New folder created everyday) but in production environment its writing the log file in wrong folder let say</p>
  
  <p>In the folder for day 20130706 (YYYYMMDD) its writing the files of  logs_20130706.log  and logs_20130707.log. and in folder 20130707 we can see the files logs_20130707.log and logs_20130708.log.</p>
  
  <p>I could not get the problem exactly where we are doing a mistake. Will be great if anyone can help me in this.</p>