51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
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": "Bank"
|
|
}
|
|
},
|
|
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
|
|
"SmtpClientHost": "smtp.gmail.com",
|
|
"SmtpClientPort": "587",
|
|
"PopHost": "pop.gmail.com",
|
|
"PopPort": "995",
|
|
"MailLogin": "tyuikooo17@gmail.com",
|
|
"MailPassword": "nhbrjnfAVKOR04"
|
|
}
|