Skip to content

Logging Configuration

The ISAM Agent and SQL Agent applications both feature logging capabilities that can be configured via propertied in the Logging property in MasterConfig.json.

Configuration Properties

Property Type Description

Example Configuration

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
       "ReplicationLibrary": "Information",
       "Microsoft.AspNetCore": "Warning",
       "Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager": "Warning",
       "Microsoft.AspNetCore.Hosting.Diagnostics": "Warning",
       "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker": "Warning",
       "Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor": "Warning",
       "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor": "Warning",
       "Microsoft.AspNetCore.Routing.EndpointMiddleware": "Warning",
       "Microsoft.AspNetCore.Server.Kestrel": "Warning",
       "Microsoft.Hosting": "Warning"
    },
    "Console": {
      "LogLevel": {
        "Default": "Information",
        "ReplicationLibrary": "Information",
        "Microsoft.AspNetCore": "Warning",
        "Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager": "Warning",
        "Microsoft.AspNetCore.Hosting.Diagnostics": "Warning",
        "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker": "Warning",
        "Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor": "Warning",
        "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor": "Warning",
        "Microsoft.AspNetCore.Routing.EndpointMiddleware": "Warning",
        "Microsoft.AspNetCore.Server.Kestrel": "Warning",
        "Microsoft.Hosting": "Warning"
      }
    }
  }
}