appsettings.json
Шаблон
{
"Serilog": {
"MinimumLevel": "Warning",
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "RollingFile",
"Args": {
"pathFormat": "%CONTENT_ROOT%\\Logs\\log-{Date}.txt",
"fileSizeLimitBytes": null,
"retainedFileCountLimit": null,
"outputTemplate": "{Timestamp:o} [{Level:u3}] {SourceContext} ({RequestId}/{ThreadId}) {Message}{NewLine}{Exception}{NewLine}",
"buffered": false
}
},
{
"Name": "LiterateConsole",
"Args": {
"outputTemplate": "{Timestamp:o} [{Level:u3}] {SourceContext} ({RequestId}/{ThreadId}) {Message}{NewLine}{Exception}{NewLine}"
}
},
{ "Name": "Debug" },
{
"Name": "EventLog",
"Args": {
"logName": "Workflow Technology",
"source": "Workflow UpdateService",
"outputTemplate": "{Timestamp:o}{NewLine}[{Level:u3}] {SourceContext} ({RequestId}/{ThreadId}){NewLine}{Message}{NewLine}{Exception}{NewLine}"
}
}
]
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId", "WithRequestId" ]
},
"AllowedHosts": "*",
"WorkflowEngineServiceName": "",
"BackupCloudPassword": "",
"BackupSpaceSaving": false,
"DebugMode": false
}WorkflowEngineServiceName
BackupCloudPassword
BackupSpaceSaving
DebugMode
Last updated