2025-08-07 14:48:22 +08:00
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Information",
|
2026-04-17 17:28:37 +08:00
|
|
|
"Microsoft.AspNetCore": "Warning"
|
2025-08-07 14:48:22 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"Serilog": {
|
|
|
|
|
"MinimumLevel": {
|
|
|
|
|
"Default": "Information",
|
|
|
|
|
"Override": {
|
|
|
|
|
"Microsoft.AspNetCore": "Warning"
|
|
|
|
|
//"Microsoft.Hosting.Lifetime": "Information"
|
|
|
|
|
}
|
2026-04-17 17:28:37 +08:00
|
|
|
}
|
2025-08-07 14:48:22 +08:00
|
|
|
},
|
|
|
|
|
"Kestrel": {
|
|
|
|
|
"EndPoints": {
|
|
|
|
|
"Http": {
|
2026-04-17 17:28:37 +08:00
|
|
|
"Url": "http://+:5002"
|
2025-08-07 14:48:22 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"Limits": {
|
|
|
|
|
"MaxRequestBodySize": 52428800 //50MB (50 * 1024 * 1024)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*"
|
2026-04-17 17:28:37 +08:00
|
|
|
}
|