How do I set Properties for Seq in my appsettings.json file?
04:46 25 Apr 2019

In my seq logs there are no properties set and I couldn't find a way to set them via appsettings.json. I could set them with the method

.Enrich.WithProperty("App", "Absence Service")

but for dotnet core dependency injection I would prefer it to be set in the appsettings.json where it look like this:

"Seq": {
  "ServerUrl": "xxxx",
  "ApiKey": "xxxx",
  "MinimumLevel": "Warning",
  "LevelOverride": {
  "Microsoft": "Error"
  }
}

How do I set properties like for example the app or environment inside the appsettings.json?

.net-core appsettings seq