title: Serilog multiple files appsettings.json
body: <p>Im trying to configure serilog to write to multiple files, with no luck whatsoever.
  With this configuration it just writes to the second file?</p>
  
  <pre class="lang-json prettyprint-override"><code>{
    "AllowedHosts": "*",
    "Serilog": {
      "Using": [ "Serilog.Sinks.File" ],
      "MinimumLevel": "Debug",
      "WriteTo": [
        {
          "Name": "File",
          "Args": {
            "path": "c:\\temp\\audit-.log",
            "rollingInterval": "Day",
            "restrictedToMinimumLevel": "Information"
          }
        },
        {
          "Name": "File",
          "Args": {
            "path": "c:\\temp\\error-.log",
            "rollingInterval": "Day",
            "restrictedToMinimumLevel": "Error"
          }
        }
      ]
    }
  }
  </code></pre>
  
  <p>Or is there any way to load many loggers to the software with different configurations from appsettings.json. Something like this?</p>
  
  <pre class="lang-cs prettyprint-override"><code>var errorLogConfiguration = new ConfigurationBuilder()
      .SetBasePath(Directory.GetCurrentDirectory())
      .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
      .AddJsonFile($"appsettings.{Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Production"}.json", optional: true)
      .AddEnvironmentVariables()
      .Build();
  
  _log = new LoggerConfiguration()
      .ReadFrom
      .Configuration(errorLogConfiguration)
      .CreateLogger();
  </code></pre>