43 lines
955 B
JSON
43 lines
955 B
JSON
{
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.File" ],
|
|
"MinimumLevel": "Information",
|
|
"WriteTo": [
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/log_.log",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss.fff}] {Level:u4}: {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
|
|
"Destructure": [
|
|
{
|
|
"Name": "ToMaximumDepth",
|
|
"Args": { "maximumDestructuringDepth": 3 }
|
|
},
|
|
{
|
|
"Name": "ToMaximumStringLength",
|
|
"Args": { "maximumStringLength": 100 }
|
|
},
|
|
{
|
|
"Name": "ToMaximumCollectionCount",
|
|
"Args": { "maximumCollectionCount": 10 }
|
|
}
|
|
],
|
|
"Properties": {
|
|
"Application": "University"
|
|
}
|
|
},
|
|
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
}
|
|
}
|
|
|