2025-11-12 11:59:11 +01:00
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Information",
|
|
|
|
|
"Microsoft.AspNetCore": "Warning"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"Serilog": {
|
|
|
|
|
"MinimumLevel": {
|
|
|
|
|
"Default": "Information",
|
|
|
|
|
"Override": {
|
|
|
|
|
"Microsoft.AspNetCore": "Warning",
|
|
|
|
|
"Microsoft.EntityFrameworkCore.Database.Command": "Warning",
|
|
|
|
|
"Microsoft.EntityFrameworkCore.Infrastructure": "Warning",
|
|
|
|
|
"System.Net.Http.HttpClient": "Warning",
|
|
|
|
|
"Google.Apis": "Warning",
|
|
|
|
|
"DiunaBI.Core.Services.PluginManager": "Information"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"WriteTo": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "Console",
|
|
|
|
|
"Args": {
|
|
|
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Name": "File",
|
|
|
|
|
"Args": {
|
|
|
|
|
"path": "/var/log/diunabi/app-.log",
|
|
|
|
|
"rollingInterval": "Day",
|
|
|
|
|
"retainedFileCountLimit": 30,
|
|
|
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {SourceContext} {Message:lj} {Properties:j}{NewLine}{Exception}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"Enrich": ["FromLogContext", "WithMachineName", "WithThreadId"]
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
|
"Kestrel": {
|
|
|
|
|
"Endpoints": {
|
|
|
|
|
"Http": {
|
2025-11-12 15:53:11 +01:00
|
|
|
"Url": "http://0.0.0.0:7142"
|
2025-11-12 11:59:11 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|