2024-11-13 17:09:15 +08:00
|
|
|
|
{
|
|
|
|
|
"Database" : {
|
|
|
|
|
"Path" : "d:\\data\\",
|
|
|
|
|
"Backup" : true,
|
|
|
|
|
"Delete" : false
|
|
|
|
|
},
|
2024-11-14 17:11:43 +08:00
|
|
|
|
"ApiUrl": "http://localhost:3920",
|
2024-11-13 17:09:15 +08:00
|
|
|
|
"Embedded": {
|
|
|
|
|
"IsOnline": false,
|
|
|
|
|
"Path": "./dist/index.html"
|
|
|
|
|
},
|
|
|
|
|
"Serilog": {
|
|
|
|
|
"Using": [ "Serilog.Sinks.File" ],
|
|
|
|
|
"MinimumLevel": "Information",
|
|
|
|
|
"WriteTo": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "File",
|
|
|
|
|
"Args": {
|
|
|
|
|
"path": "logs/aivap.txt",
|
|
|
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff} [{Level:u3}] {Message}{NewLine}{Exception}",
|
|
|
|
|
"rollingInterval": "Day"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
|
|
|
|
|
"Destructure": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "ToMaximumDepth",
|
|
|
|
|
"Args": { "maximumDestructuringDepth": 4 }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Name": "ToMaximumStringLength",
|
|
|
|
|
"Args": { "maximumStringLength": 100 }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Name": "ToMaximumCollectionCount",
|
|
|
|
|
"Args": { "maximumCollectionCount": 10 }
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"Properties": {
|
|
|
|
|
"Application": "optical.platform"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|