{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information", } }, "DetailedErrors": true, "Serilog": { "MinimumLevel": { "Default": "Information", "Override": { "Microsoft.AspNetCore": "Warning" //"Microsoft.Hosting.Lifetime": "Information" } }, "WriteTo": [ { "Name": "File", "Args": { "formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact", "path": "./logs/log-.txt", "rollingInterval": "Day" } } ] }, "Kestrel": { "EndPoints": { "Http": { "Url": "http://+:5001" } }, "Limits": { "MaxRequestBodySize": 52428800 //50MB (50 * 1024 * 1024) } }, "AllowedHosts": "*" }