title: .net core console app - serilog write to bin/debug folder
body: <p>i am using .net5 console app and set serilog to log to Logs/log.txt
  but instead of write to rootFolder/Logs/log.txt
  it write to bin/debug folder.</p>
  <p>EDIT: I attach the code:</p>
  <p>in the appsettings.json
  it looks like this:</p>
  <pre><code>   {
        &quot;Name&quot;: &quot;File&quot;,
         &quot;Args&quot;: {
          &quot;path&quot;: &quot;Logs\log.txt&quot;,
        }
     }
  </code></pre>
  <p>Program.cs</p>
  <pre><code>static void Main(string[] args)
          {
              var configuration = new ConfigurationBuilder()
                  .AddJsonFile(&quot;appSettings.json&quot;, true, true)
                  .Build();
   
              var serviceCollection = new ServiceCollection()
                  .AddLogging(builder =&gt; builder.AddSerilog(
                      new LoggerConfiguration()
                          .ReadFrom.Configuration(configuration)
                          .CreateLogger()))
                  .BuildServiceProvider();
  
              var logger = serviceCollection.GetService&lt;ILogger&lt;Program&gt;&gt;();
  
  
              logger.LogInformation(&quot;hello from Serilog&quot;);
              Console.ReadLine(); 
          }
  </code></pre>
  <p>any idea please?</p>