title: How to overwrite application name specified in appsettings.json when using Serilog?
body: <p>My appsettings.json looks like this:</p>
  
  <pre><code>{
    "Serilog": {
      "Using": [ "Serilog.Sinks.File" ],
      "MinimumLevel": "Debug",
      "WriteTo": [
        {
  
                "Name": "File",
                "Args": {
  
                  "path": "%APPDATA%\\FancyProject\\logs\\RR.log",
                  "formatter": "Serilog.Formatting.Json.JsonFormatter",
                  "rollingInterval": "Day",
                  "retainedFileCountLimit": 20,
                  "buffered": false
                }
              }
            ],
      "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId", "WithExceptionDetails" ],
      "Properties": {
        "Application": "SampleName"
      }
    }
  }
  </code></pre>
  
  <p>Loading the settings:</p>
  
  <pre><code>var configuration = new ConfigurationBuilder()
                          .AddJsonFile("appsettings.json")
                          .Build();
  
  Log.Logger = new LoggerConfiguration()
                   .ReadFrom.Configuration(configuration)
                   .CreateLogger();
  </code></pre>
  
  <p>I'd like to use the same config file for multiple projects in my solution but with a different application name in order to distinguish between services.</p>
  
  <p>Is there a way to change the application name ("SampleName" in my config) in code when loading the config?</p>