Logging settings

The logging configuration for non-development environments is determined by the logging sections in the config.json file. The default logging level is Information.


  "Logging": {
    "IncludeScopes": false,
    "LogLevel": {
      "Default": "Information",
      "System": "Warning",
      "Microsoft": "Warning"
    },
    "ApplicationInsightsLoggingEnabled": false,
    "SerilogLoggingEnabled": true
  },

The Logging section defines the base logging settings, and can be overwritten and extended by the Serilog section.


"ApplicationInsights": {
    "InstrumentationKey": "",
    "MinimumLevel": "Information"
  },

The Serilog section defines the Serilog settings for the system.

For development environments, the settings defined in the config.json are overwritten and extended by the settings defined in the config.Development.json file.


"Serilog": {
    "MinimumLevel": "Information",
    "WriteTo": [
      {
        "Name": "LiterateConsole"
      }
    ]
  }