{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "Serilog": { "MinimumLevel": { "Default": "Information", "Override": { "Microsoft": "Warning", "Microsoft.AspNetCore": "Warning", "System": "Warning" } }, "WriteTo": [ { "Name": "Console", "Args": { "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}" } }, { "Name": "File", "Args": { "path": "Logs/log-.txt", "rollingInterval": "Day", "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}" } } ], "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ] }, "DocumentOperatorSettings": { "TempFolderPath": "C:\\Temp\\DocumentOperator", "TempFileRetentionHours": 24, "MaxPdfSizeMB": 50, "EnableDetailedLogging": true }, "RedisSettings": { "ConnectionString": "localhost:6379", "InstanceName": "DocumentOperator:", "CacheExpirationMinutes": 60 }, "ApiKeySettings": { "EnableValidation": true, "Keys": { "customer-a-key-12345": { "TenantId": "customer-a", "TenantName": "Customer A GmbH", "IsActive": true }, "customer-b-key-67890": { "TenantId": "customer-b", "TenantName": "Customer B AG", "IsActive": true } } } }