53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Data Source=database/EmailBill.db"
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console"
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "logs/log-.txt",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": ["FromLogContext"]
|
|
},
|
|
"EmailSettings": {
|
|
"CheckIntervalMinutes": 1,
|
|
"SmtpList": [
|
|
{
|
|
"Name": "SC",
|
|
"Email": "779343834@qq.com",
|
|
"Password": "zxjkkkilfdgvbfjf",
|
|
"ImapHost": "imap.qq.com",
|
|
"ImapPort": 993,
|
|
"UseSsl": true
|
|
}
|
|
],
|
|
"FilterFromAddresses": [
|
|
"95555@message.cmbchina.com",
|
|
"ccsvc@message.cmbchina.com"
|
|
]
|
|
}
|
|
}
|