Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

2022.0.0-rc.12

...

Konfiguration

  • Die Konfiguration von Application Insights muss geändert werden, sofern diese Senke verwendet wird (siehe Breaking Changes).

    Code Block
    titleappsettings.json
    collapsetrue
    "Serilog": {
        "Using": [ "Serilog.Sinks.ApplicationInsights" ],
        "Enrich": [ "FromLogContext" ],
        "WriteTo": [
          {
            "Name": "ApplicationInsights",
            "Args": {
              "connectionString": "<enter connection string here>"
              "restrictedToMinimumLevel": "Information",
              "telemetryConverter": "Serilog.Sinks.ApplicationInsights.TelemetryConverters.TraceTelemetryConverter, Serilog.Sinks.ApplicationInsights"
            }
          }
        ]
      }