Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Standardprotokollierung

Erweiterte Protokollierung

"Serilog": {
"MinimumLevel": {
"Default": "Information"
},
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "%ALLUSERSPROFILE%\\Advokat\\Log\\Advokat.Server.log",
"buffered": false,
"fileSizeLimitBytes": "1048576",
"rollOnfileSizeLimit": "true",
"retainedFileCountLimit": "10",
"outputTemplate": "{Timestamp:o} [{Level:u3}] ({Application}, {ThreadId,3}, {SourceContext}) {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "Information",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} ({SourceContext}){NewLine}{Exception}"
}
}
],
"Enrich": [ "FromLogContext", "WithThreadId" ],
"Properties": {
"Application": "ADVOKAT.Server"
}
},

"Serilog": {
"MinimumLevel": {
"Default": "Debug"
},
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "%ALLUSERSPROFILE%\\Advokat\\Log\\Advokat.Server.log",
"buffered": false,
"fileSizeLimitBytes": "1048576",
"rollOnfileSizeLimit": "true",
"retainedFileCountLimit": "10",
"outputTemplate": "{Timestamp:o} [{Level:u3}] ({Application}, {ThreadId,3}, {SourceContext}) {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "Debug",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} ({SourceContext}){NewLine}{Exception}"
}
}
],
"Enrich": [ "FromLogContext", "WithThreadId" ],
"Properties": {
"Application": "ADVOKAT.Server"
}
},