{
  "Serilog": {
    "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.Seq" ],
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft.AspNetCore": "Warning",
        "Microsoft.EntityFrameworkCore.Database.Command": "Warning"
      }
    },
    "WriteTo": [
      { "Name": "Console", "Args": { "formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact" } },
      { "Name": "Seq", "Args": { "serverUrl": "http://localhost:5341" } }
    ],
    "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
    "Properties": {
      "Application": "VigilCareClinicalAPI"
    }
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning",
      "Microsoft.EntityFrameworkCore.Database.Command": "Warning"
    }
  },
  "Kafka": {
    "ReplicationFactor": 3,
    "NumPartitions": 6,
    "SecurityProtocol": "SaslSsl"
  },
  "Minio": {
    "UseSSL": true
  },
  "RabbitMq": {
    "UseSsl": true
  },
  "PhiEncryption": {
    "LogListAccess": true
  },
  "Swagger": { "Enabled": false },
  "Seeding": { "EnableDemoData": false },
  "Simulation": {
    // Patient-safety gate: never expose scenario replay against real care data.
    // Flip only for dedicated training/staging environments with synthetic patients.
    "Enabled": false
  }
}
