You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.3 KiB
55 lines
1.3 KiB
{
|
|
"Serilog": {
|
|
"Using": [
|
|
"Serilog.Sinks.Console",
|
|
"Serilog.Sinks.File"
|
|
],
|
|
"MinimumLevel": {
|
|
"Default": "Debug",
|
|
"Override": {
|
|
"Microsoft": "Information",
|
|
"Volo.Abp": "Information",
|
|
"Hangfire": "Information",
|
|
"DotNetCore.CAP": "Information",
|
|
"Serilog.AspNetCore": "Information",
|
|
"Microsoft.EntityFrameworkCore": "Warning",
|
|
"Microsoft.AspNetCore": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console"
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "logs/logs-.txt",
|
|
"rollingInterval": "Day"
|
|
}
|
|
},
|
|
{
|
|
"Name": "Elastic",
|
|
"Args": {
|
|
"Enabled": false,
|
|
"Url": "http://es.cn",
|
|
"IndexFormat": "Lion.AbpPro.development.{0:yyyy.MM.dd}",
|
|
"UserName": "elastic",
|
|
"Password": "aVVhjQ95RP7nbwNy",
|
|
"ApplicationName": "Lion.AbpPro.HttpApi.Host"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"App": {
|
|
"SelfUrl": "http://localhost:44315",
|
|
},
|
|
"ConnectionStrings": {
|
|
"Default": "Data Source=localhost;Port=3306;Database=MyCompanyName.MyProjectName.MyModuleName;uid=root;pwd=1q2w3E*;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
|
},
|
|
"Swagger": {
|
|
"Enabled": true
|
|
},
|
|
"MultiTenancy": {
|
|
"Enabled": true
|
|
}
|
|
}
|