GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

(Guidance2022.2.1.14 - RC01) Check if the Serilog entry for appsettings.Dev.json should be null #223

Closed vvdb-architecture closed 5 months ago

vvdb-architecture commented 5 months ago

For services, all appsettings.{environment}.json contain a valid Serilog entry, except appsettings.Dev.json, which contains:

  "Serilog": null,

Since there is a Seq server for Dev, one would expect to see something analogous to Test:

"Serilog": {
  "WriteTo:SeqLogger": {
    "Name": "Logger",
    "Args": {
      "configureLogger": {
        "MinimumLevel": "Verbose",
        "WriteTo": [
          {
            "Name": "Seq",
            "Args": {
              "serverUrl": "https://seqdev.tmd.belgrid.net"
            }
          }
        ]
      }
    }
  }
},