title: Serilog - path to log file
body: <p>i am trying to start working with serilog. The normal RollingFile doesn't fit my needs (i need the counting like logs\20160701-00002.txt), so i want to use the RollingFileAlternate as a sink.</p>
  
  <p>When using RollingFile i added   </p>
  
  <pre><code>  loggerInstance = new LoggerConfiguration()
                      .ReadFrom.AppSettings()
  </code></pre>
  
  <p>and was able to get the path from the App.config file with using:</p>
  
  <pre><code>  &lt;add key="serilog:minimum-level" value="Debug" /&gt;
    &lt;add key="serilog:using:RollingFile" value="Serilog.Sinks.RollingFile" /&gt;
    &lt;add key="serilog:write-to:RollingFile.pathFormat" value="..\Log\MyLOG.LOG" /&gt;
  </code></pre>
  
  <p>Now i switched to RollingFileAlternate :</p>
  
  <pre><code>        &lt;add key="serilog:minimum-level" value="Debug" /&gt;
          &lt;add key="serilog:using:RollingFileAlternate" value="Serilog.Sinks.RollingFileAlternate" /&gt;
          &lt;add key="serilog:write-to:RollingFileAlternate.logsDirectory" value="..\Log\test.log" /&gt;
          &lt;add key="serilog:write-to:RollingFileALternate.logsFolder" value="..\Log" /&gt;
  </code></pre>
  
  <p>I tried using logsDirectory and logsFolder since both are described in the examples of <a href="https://github.com/BedeGaming/sinks-rollingfile" rel="noreferrer">https://github.com/BedeGaming/sinks-rollingfile</a>
  but my program won't create a file.</p>
  
  <p>if I add to the Loggerconfiguration: </p>
  
  <pre><code>        loggerInstance = new LoggerConfiguration()
              .ReadFrom.AppSettings()
              .WriteTo.RollingFileAlternate("..\\log")
  </code></pre>
  
  <p>the foldername will be used and the logfiles are put in this folder.</p>
  
  <p>Can some one help me and tell me what i am missing?</p>