detect/detect.gui/appsettings.json
2024-11-13 17:09:15 +08:00

44 lines
1.0 KiB
JSON

{
"Database" : {
"Path" : "d:\\data\\",
"Backup" : true,
"Delete" : false
},
"ApiUrl": "http://localhost:3910",
"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"
}
}
}